Introducing C++: Why Learn C++ Programming?
Introducing C++: Why Learn C++ Programming?
Introducing C++
C++ is an extension of the C programming language that was first
implemented on the UNIX operating system by Dennis Ritchie
way back in 1972. C is a flexible programming language that
remains popular today and is used on a large number of platforms
for everything from microcontrollers to the most advanced
scientific systems.
C++ was developed by Dr. Bjarne Stroustrup between 1983-1985
A powerful programming while working at AT&T Bell Labs in New Jersey. He added
language (pronounced features to the original C language to produce what he called
“see plus plus”) designed “C with classes”. These classes define programming objects with
to let you express ideas. specific features that transform the procedural nature of C into
the object-oriented programming language of C++.
The C programming language was so named as it succeeded
an earlier programming language named “B” that had been
introduced around 1970. The name “C++” displays some
programmers’ humor because the programming ++ increment
operator denotes that C++ is an extension of the C language.
C++, like C, is not platform-dependent so programs can be
8
Standardization of C++
9
As the C++ programming language gained in popularity it
was adopted by many programmers around the world as their
programming language of choice. Some of these programmers
began to add their own extensions to the language so it became
necessary to agree upon a precise version of C++ that could be
commonly shared internationally by all programmers.
A standard version of C++ was defined by a joint committee
of the American National Standards Institute (ANSI) and the
Industry Organization for Standardization (ISO). This version is “ISO” is not an acronym
sometimes known as ANSI C++ and is portable to any platform but is derived from
the Greek word “isos”
and to any development environment.
meaning “equal” – as in
The examples given in this book conform to ANSI C++. “isometric”.
Example programs run in a console window, such as the
Command Prompt window on Windows systems or a shell
terminal window on Linux systems, to demonstrate the
mechanics of the C++ language itself. An example in the final
chapter illustrates how code generated automatically by a visual
development tool on the Windows platform can, once you’re
familiar with the C++ language, be edited to create a graphical
windowed application.