C++ Programming Code Examples C++ > Beginners Lab Assignments Code Examples Multiline Comments in C++ programming language Multiline Comments in C++ programming language If you want to write a multiline comment you have to write "/*" at the start of the comment. After this you can write as many number of lines of description. When you are done with writing multiline comment then you have to close multiline comment. It is done by the "*/" symbol. /*start line This is a multiline comment Anything between start (/ *) and end (* /) will be ignored by the compiler end line */ //include a header file from Standard Library #include <iostream> using namespace std; //the work of the program starts from function called main int main() { //use standard (console) to output message "Hello World" cout << "Hello world" << endl; //wait for user to press a key cin.ignore(); //return a value to the system when program finish its execution successfully return 0; }