cpp introductionIntroduction to C++

Introduction to C++

Learn C++ in step-by-step lessons.


In this lesson you will learn what a compiler is and why you need one. You will learn a few things that you need to know first, and then you will write your first program: Hello World

C++ is an object oriented programming language. It is very similar to Java, JavaScript, PHP, and ActionScript.

C++ is case sensitive. That means that if the example uses the word "main" it must be typed exactly as shown. "Main", "MAIN" or any other change in the case is an error.

For the lessons on this website, we will be running the programs in a DOS window. We will not be creating a GUI, or graphical user interface.

Please study the material at each of the links below.

  1. A few C++ compilers
  2. Using Visual Studio Using Visual Studio
  3. The first program: Hello World
  4. Explanation of the hello world program Explanation of the hello world program
  5. Comparison of new and old versions of Visual Studio
GlossaryGlossary for introduction lesson
Full Glossary