Jump to content

C++ Programming/Examples/Displays a string

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

  return 0;
}