Unit 1: Introduction and Setup
This unit presents a brief history of C++ before addressing the mechanics of editing and compiling simple programs in C++ using the Eclipse IDE (integrated development environment). We will focus on how to write and format a general C++ program, the meaning
main() function, how to use the
cin objects, how to declare and use variables, and how to use arithmetic operators.
Completing this unit should take you approximately 8 hours.
1.1: A Basic History of C++
1.2: How to Compile and Run a C++ Program
1.3: Simple C++ Commands
1.4: Variables, Data Types, and Constants
1.5: Basic Input and Output
1.6: Arithmetic Operators
Unit 1 Exercises