previous
|
start
|
next
Errors (Syntax and Logic Errors)
Syntax error or compile-time error:
Something violates the language rules.
Compiler finds the error.
cot << "Hello, World!\n"; cout << "Hello, World!\";
Logic error or run-time error:
Program doesn't do what it's supposed to do.
Program author must test and find the error.
cout << "Hell, World\n";
previous
|
start
|
next