Fri Oct 25 2019

Hello World

C++ Programming1167 views

File Name: cpp-hello-world.cpp

/* include header file */
#include <iostream>

/* tells the compiler to use the std namespace */
using namespace std;

int main() {

	/* print text on screen */
	cout << "Hello World!\n";
	return 0;
}

We use cookies to improve your experience on our site and to show you personalised advertising. Please read our cookie policy and privacy policy.