C++ examples for Language Basics:Console
Display a string on-screen.
#include <iostream> using namespace std; int main()// w w w.j a va2 s .co m { cout << "C++ programming is fun!"; return 0; }