| Hello, World! |
ATT Bell Labs
Invented to re-write Unix
Replacement for assembler language
Low-level
Minicomputer
Small language; Small compiler
Popular for early PC's.
C++: 1980's
C was very popular.
Object-oriented programming becoming state-of-the-art.
ATT wanted to extend C to keep it up-to-date.
Originally: C + classes
Now: C + everything but the kitchen sink
Java: 1990's
Cleaned-up C++
C++ Has:
All of C.
A few incompatibilities.
General improvements.
Better I/O
Decent strings
Etc.
Classes and objects.
Templates.
Glued Together
Most C programs are C++ programs
But not all
In C++:
Two separate standard I/O systems.
Two separate systems for dynamic memory allocation.
Two different systems for string handling.
| Hello, World! |