Tutorial Categories
Tools and Software
Site Search


Advanced Search
Tutorial Options
Popular Tutorials
  1. Photoshop Concept Car Makeover
  2. Photoshop Man Of Fire Part I
  3. Photoshop Magic Marker Effect
  4. Photoshop Man Of Fire Part II
  5. Photoshop Car Makeover Part II
No popular tutorials found.
Popular Authors
  1. Cory Crampton
  2. Daniel Phillips
  3. tanmay goswami
  4. Rails Forum
  5. Brendan Horverson
  6. CodeCrunch Tutorial Bot
  7. PhotoshopBee .com
  8. Jamie Lewis
  9. Nick Cote
  10. Luther Avery
No popular authors found.
 »  CodeCrunch  »  Programming  »  C++  »  Starting C++
Starting C++
By Daniel Phillips | Published  06/28/2006 | C++ | This tutorial viewed 1042 times
Easy Guide to C++

cout << "Hello World!" << endl;

This line, is the bit that displays the text onto the console window, this displays Hello World! And then as of endl; it takes a new line.

return 0;

This enters the text: Press any key to continue...
Then closes the program.

}

Ends main() {, and closes our program.

C++ Dictonary so far:

#include - includes a file to the C++ document
using namespace std; - Later articles
int main() { - Starts a C++ program
cout << "" - outputs a string to the console window, stands for console output
<< endl; - Takes a new line, stands for end line.
return 0; - Ends our console program.

Thats it for this tutorial, check back for more soon!




How would you rate the quality of this tutorial?
Add comment
Comments