C++ examples for Language Basics:Hello World
Print string with std::cout
#include <iostream> int main() //w w w.ja v a 2s .c o m { std::cout << "Solidum petit in profundis!\n"; return 0; }