Professional Documents
Culture Documents
Programming
Fundamentals
CHAPTER 1 : INTRODUCTION TO
C++ PROGRAMMING
1.1 Introducing the C++ Programming
Environment
1985+
C++ language refined until became a language
1st Assignment
What are the differences between the C
#include
<iostream>
int main( )
{
//
statement(s);
}
FP 201
Programming
Fundamentals
CHAPTER 1 : INTRODUCTION TO
C++ PROGRAMMING
1.2 Identifying the Compiling & Debugging
Process, Errors in Programming
C
C
Languag
Languag
e
e
Compiler
1.2.2 Errors in
Programming
Compile-time errors
Occurs when the rules of programming
language are not applied
Correction is done during the program coding
The bug can be traced during the compilation
Also known as syntax error
Must be corrected before executing and testing
the program
Lab 1
Debugging
programs
with compile
time, run
time and
logical errors.