Warp up C++ by examples

Author: HBF

date: 2021-06-06

About: Quick start on C++ by examples.

Prerequisite: knowledge and skill on C.

What it contains

How to run

It needs a C++ compiler, e.g. GNU C++ compiler, or MinGW for Windows. We assume Windows OS the following.

  1. Download warm_upp.zip and unzip to a directory, say C:/cpp
  2. Open cmd console, cd to the above directory.
  3. For each program file, open, read, understand, compile, and run.
  4. You can also run Windows batch test.bat, which compiles and runs all the programs.
  5. Run clean.bat to deletes all generated executable files.

References

  1. C++ tutorial at W3School