May 2002
Beginner
320 pages
6h 18m
English
There are no standards for compiler or linker command names. The following commands compile the modules and link them together using a fictional compiler (cppcompiler) and linker (cpplinker) under Windows:
|compiling|commands
|commands|compile
cppcompiler PromptModule.cpp cppcompiler ErrorHandlingModule.cpp cppcompiler Main.cpp cpplinker Calculator.exe Main.obj PromptModule.obj ErrorHandlingModule.obj
A compiler typically produces an intermediate file, whose name often ends in .obj or .o (it is sometimes called an object file even though it has nothing to do with object-oriented programming). The linker combines these files into an executable file (under Windows a .exe file, under Unix a file with no extension). The operating ...
Read now
Unlock full access