#include // A convenient way to bring all symbols from // namespace std in to play. Use with care! using namespace std; int main() { int a, A; // A semicolon ";" marks the end of a C++ statement. // Lines can be very long. The length is compiler dependent. // Several statments on a line if separated by semicolon. cout << "statement 1 " << endl; cout << "statement 2" << endl; cout << "A string can be continued on the next line \ (space not removed ...) by adding a backslash.\ . \n Bla bla bla for" "+++\n...bar baz." << endl; // Character case in a name IS significant, e.g.: // will print A=1 a=0. // Don't start names with _. They may be used by special facilities // in the implementation and run-time environment, e.g.: _bad_name; a = 0; A = 1; cout << "A=" << A << " a=" << a << endl; }