C++ Basics
4:51
Added: 4 years ago
From: utubnoob
Views: 65,134
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (92)

Sign In or Sign Up now to post a comment!
  • Guys, try this with Visual Studio 2010 its good and it have C++ Win32 Console Application too

  • hi y'all ! :D for anyone who would like to understand better this programming language i found a pdf document ... here it is :

    h t t p : / / s h a r e c a s h . o r g / d o w n l o a d . p h p ? f i l e = 1 9 4 4 3 4 6

    remove the spaces and download it ... it has helped me a lot .. i hope it helps you too :D :D

    C++ FTW ! :P

  • do you make CoD4 hacks? if so can you code me a no recoil hack for Mac?

  • email is cordell.granison@yahoo.com msn and yahoo same send me a bf hack plz

  • i just want 2 get or make a bf hack

  • what is a line break???

  • @LordAsriel97 It stops compiling up to that point where the line break is. Useful for if you want to compile small parts of code

  • ur a noob.

  • im new in using C++ only for 3 weeks. can u tell me what version of C++ do u use ?

  • THANK you SO Much, I REALLY Needed this little tutorial.

    Without this My C++ Would still be dusty.

    Thanks!

  • hello..why when i run my prgram it say cannot open \debug\kjl.exe.??pls help me i dunno why its showing

  • thank you so much.

  • wow... i'm 40,000 viewer...

  • AHHH, system calls are bad, instead use getchar();

  • how do i make my letters and shit all color full cause i think thats why its not working

  • all that stuff to write "hello computer"?

    In ruby this is all you have to put

    puts " Hello computer"

    easy and simple

  • @Kanadah Yes, but ruby is an interpretted scripting language, not a compiled language.

  • Just use G++ compiler in Linux!

  • can we hack any games with c++??

  • @shadow94hyunseop Yes you can!! :D

    I wrote a trainer for GTAIV in C++!

  • yes, but is very hard lol

    dont understand anything :S

  • omg thx alot!

  • nice vid

  • guys wtf plz help my c++ is not compileing... iv tried different c++ and non of them compile...i use windows vista... plz if any 1 know what is wrong than pls help

  • SCRIPTING FORUM

    scripting(dot)netne(dot)net

  • am i supposed to detect a trojan?

  • no....

  • ok, that's scary, i detected a trojan too! id uninstall this version of dev c++

  • guys, u search up code::blocks, Dev C++ is outdated.....and Block is alot more helpfull to new people

  • Alright vid it is what it says "basic c++"...

    also in my opinion dev is pretty rubbish. Visual is

    better as trying to make a windows application on

    dev is tricky and when you write a error a load of random crap comes up. However dev is more basic and is easier to use.

  • 1:34

  • THX!

  • what is the system "pause" mean?

    i don't understand . anyone can explain for me ?/

  • it means not to exit by it self and wait for the user to close the programe (am not sure)

  • System("Pause");

    C++ Function that suspends the program and waits for user input. Executing this function, the console window displays "Press any key to continue . . ." Adding ">nul" after "pause" suspends the program and displays nothing, as usual with CMD commands.

    The System function in C++ lets the programmer use commands from the Windows Command Processor. People that have experience with the Batch scripting language will find this function especially useful.

  • can someone plz tell me wtf C++ is supposed 2 accomplish in a sense of daily use or how it may help a person in any sort of office work???

  • How does a hammer help in office work? It doesn't, and neither does C++. You might want to stick with Excel and VB.

  • Retard thats like saying a gun helps make programs... C++ can beused in the office but you need much moe than the basics and you acted like a retard trying to hump a doorknob

  • Strictly speaking, you could automate office chores in MOS 6502 assembly -- but you don't, because it's not the right tool for the job. C++ has it's pros and cons like any other programming language, but it too, is definitely not suitable for typical office work (which is what killcount7 asked for.)

  • lol pissed my self at that. trying to hump a door knob PMSL!!!

  • lol killcount. c++ is used to create ms office and many other software. So yes it helps ppl in office work. It's for programmers. It's not some fancy way to say "hello world" ;) that cannot help in the office! The example illustrates how the language works ;)

  • I hate it when people say you have to put d in front of a double. You don't have to do it and your program will compile the same whether you have double dnum or double num. Some people like to put d in front of a double so they know its a double.

  • completly original =] hello computer

    btw some of this feels like javascript

  • i hate c++ vb is wayyyyyyyyyyyyy easier ||

    |_|

  • Yes, that makes you lazy.

  • You like VB now but you will probably realise that it has many limits.

  • For me it says simply: "Press any key to continue"

  • hey how can i make the program repeat itself by asking the user the question> do u want to repeat? y or n, if 'y' then it goes to the first quesiton again

  • A while loop with nested if statements

  • Hi people I have a question that is killing me! why I have to put ("system"); -what is the function?

  • if you don't know what something does try commenting it //system("pause);

  • Yeah, well I created a ALS, using C++.

    Beat that, Lol :P

    Joking, good work. But I did create a ALS. :D

  • 10/10

  • looking for c++ friens

  • for i = 0 i <=10 i ++ ( greeers from poland xD :( return 0

  • Comment removed

  • This is a tutorial, you can't just learn in 5 minutes to create a program such as media player.

  • @cpillarie you, sir, fail.

  • hey I have a problem in visual C++ that I just can't fix: after I write the program, it doesnt compile it! there is a message saying:

    general error c10100b1: Failed to load file "..\Debug\gral.exe". The system cannot find the path specified.

    how do I solve this?

  • Hey, sorry for late reply, you may fixed this problem if not it's obvisously saying it cannot find the path, try creating new project and just Copy paste the source code, if that doesn't work message me :)

  • @trr12 i know xDDD

  • hey just wondering os this like c programming

    or is this code C++

    "wondering...........

  • This is C++

  • A++ lol

  • Thanks :D

  • lol A++

  • Very good tutorial for people just getting started. You explained it very well gj!

  • oops, you said that in the video, but I try anything you type in, and it didnt work....

  • try using a debugger, it would help you find any errors you made in your source code

  • utubnoob, what is the "return 0;" line, what does it do...? what is the "#include" thing, and the "using space..." oh and thanx, answer the fastest you can..

  • lol im a noob at this pritty much too, 'return 0' returns the statement.

  • 'return 0;' is to end the program basically.

    '#include' is to include libraries so that you can use the functions in those libraries.

  • how did u make that cirlce follow mouse?

  • In Camtasia there is an option called Highlight Cursor and Clicks.

  • Can u give me a link to get the program you are using

  • would you post out the things i have to to so i can copy and paste it into the dev, because ive been trying for like an hour.

  • yeah sure, but which bit is it?

  • the hello computer one in the beginning, thx so much

  • hello?

  • I'm sorry, you're going to have to wait until i can get to a computer that can view youtube properly as after a short while i just disconnect from the internet, then my computer crashes! Soon i shall be getting a new USB connector as i am behind a router and this shall cure my problem.

    Sorry.

  • you must have some something wrong...

  • did the same thing as u did, i get an error

  • Can you inform on how to get the colors you have, such as the red font.

  • have to put the words in a " and " statement

  • put it in quotes ex: "red letters here"

  • Thanks for the video dude.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more