C++ Programming/Examples/Displays a string

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

  return 0;
}