C++ examples for Language Basics:Hello World
Using comments to add description to the code
#include <iostream> //preprocessor directive using namespace std; //"using" directive int main() //function name "main" { //start function body cout << "this is a test\n"; //statement return 0; //statement } //end function body