Jump to content

C++ Programming/Examples/Displays a string2

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

  return 0;
}