C++ was created by Bjarne Stroustrup in 1979 at Bell Labs as an enhancement to the C language. It combines procedural and object-oriented programming. A C++ program consists of functions, the basic unit of which is main(). Functions can be library functions or user-defined and are made up of prototypes, definitions, and calls. The program also uses various data types and variables like local and global.