C++ was designed by Bjarne Stroupstrup to provide Simula's facilities for program organization with C's efficiency and flexibility for systems programming. It is a compiled language that supports classes, templates, operator overloading, references, and exceptions. A C++ program consists of source files that are compiled into object files and then linked together into an executable file by the compiler and linker. An example program demonstrates including libraries, using namespaces, defining and calling a main function, and compiling and executing the program.