Introduction to C++

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. The first program: Hello World
  3. Explanation of the hello world program
Like us on Facebook:


OER: Open Educational Resource
Creative Commons License Author: Janet E. Joy; Publisher: Zebra0.com
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License
Creative Commons Attribution-NonCommercial 4.0 International License
Last modified: May 18 2017 14:06:50.