Search This Blog

Saturday, June 11, 2011

C++: Notes

Process of a c++ source code:
editor->source code->compiler->object code->linker->executable file

1. Source code files usually have the extension .cpp
2. Object files usually have the extension .obj
3. Executable files usually have the extension .exe
4. Syntax/Compile errors: often caused by typos, can result in object files not being produced
5. Link errors: indicates that something that the program needs to reference externally can't be found. Adjust the offending reference and start the compile/link process again.
6. Run time/logical errors: Occur when the executable file is run.
7. ISO standard/standard library for standard C++ - it defines how the language should work. Also called the ANSI standard or ANSI/ISO standard.



No comments:

Post a Comment