Skip to main content

Section 1.7 Reviewing Basic C++

In this section, we will review the programming language C++ and also provide some more detailed examples of the ideas from the previous section. If you are new to C++ or find that you need more information about any of the topics presented, we recommend that you consult a resource such as the C++ Reference
 1 
http://www.cplusplus.com/reference/
or a C++ Tutorial
 2 
http://www.cplusplus.com/doc/tutorial/
. Our goal here is to reacquaint you with the C++ language and also reinforce some of the concepts that will be central to later chapters.
C++ is an object-oriented programming language. It has a powerful set of built-in data types and control constructs. Since C++ is a compiled language, all the code written in this language, when run, are translated to machine code by a program called the compiler.
The following is an example of C++ code that writes to the console:
You have attempted of activities on this page.