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 or a C++ 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