C++ Programming/Examples/Displays a string

From Wikibooks, open books for an open world
Jump to: navigation, search
// This program justs displays a string and exits
#include <iostream>
 
int main()
{
  std::cout << "Hello World!";
  std::cout << std::endl;
 
  return 0;
}