C Guide
C Guide
C++ was initially called C with Classes when Bjarne Stroustrup developed it at Bell Labs
in Murray Hill, New Jersey, in 1979. It was later renamed C++ in 1983. C++ was
developed as an extension to the C programming language.
Since C++ is a superset of C, almost any valid C program can be written in C++.
Object-Oriented Programming
Object-oriented programming is fully supported in C++, including the four pillars of
object-oriented development.
Standard Libraries
The standard implementation of C++ is comprised of three essential components:
The fundamental language provides all the necessary components, such as literals, variables, and
data types, among other things.
The C++ Standard Library provides a diverse range of functions for working with files and
strings, among other things.
The Standard Template Library (STL) provides a comprehensive collection of methods for
modifying various data structures, among other things.
ANSI's Recommended Practice
The ANSI standard is an attempt to ensure that C++ is portable; that is, that code you
write for Microsoft's compiler will compile without errors using a compiler on a Mac,
UNIX, a Windows box, or an Alpha. This is one of the goals of the ANSI standard.
The ANSI standard has remained the same for some time, and all major companies
producing C++ compilers adhere to the ANSI standard.
The Study of C++
When first learning C++, the most important thing to do is concentrate on the different
concepts.
C++ allows for many different programming styles to be used. Any language can be
written in the style of other languages, such as Fortran, C, Smalltalk, etc. Each mode can
successfully achieve its objectives while simultaneously conserving both time and space.
Using C++
C++ is a programming language that is utilized by hundreds of thousands of developers
across virtually all application fields.
Because the primary user interfaces of Apple Macintosh computers and personal
computers running Windows are written in C++, anyone who has used either of these
computer systems has, in a roundabout way, using C++.