There are two kinds of errors you’ll run into when writing C++ programs: 

  1. compilation errors 
  2. runtime errors.

 Compilation errors are problems raised by the compiler,generally resulting from violations of the syntax rules or misuse of types. These are often caused by typos and the like. 

Runtime errors are problems that you only spot when you run the program: you did specify a legal program, but it doesn’t do what you wanted it to. These are usually more tricky to catch, since the compiler won’t tell you about them.
Designed By Blogger Templates | Templatelib & Distributed By Blogspot Templates