Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

C++ 101

Loading...

Sign in or sign up now!
615 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Oct 19, 2008

This video will show you how to do the very very basics of C++. More tutorials on more advanced concepts coming soon!

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 4 dislikes

Link to this comment:

Share to:
see all

All Comments (2)

Sign In or Sign Up now to post a comment!
  • Void means that it does not return anything. Output to the console is very different from return values. To return text, you want "String" or perhaps "char *" instead of int.

    Without "endl" or "\n" on the cout, there will be no newline - which is not really correct for console output.

    If you use visual studio, or anjuta, or eclipse, you wont need the terminal to get stuff compiled for you.

    You probably do not have gcc/g++ on your path - is it installed?

  • This video needs the audio levels to be normalized.

    You only include iostream if you are doing iostream operations - it is NOT a document intro like a html tag. Perhaps you will be making a graphical app which does no IO streaming at all?

    #include tells it, quite simply, that all the code in iostream.h (or whatever else) will be included - you can open that file, it is just text.

    int main can normally be void main unless you need return values.

Loading...
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