Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

hello world c++

#include <iostream> // Include standard library and namespace
using namespace std; // for c++

int main () // where program starts
{
	cout << "Hello World!
"; // cout (part of std) prints message
  	return 0; // return int because main is of type int
}
Source by en.wikibooks.org #
 
PREVIOUS NEXT
Tagged: #world
ADD COMMENT
Topic
Name
9+9 =