Chapter 3

 < Day Day Up > 



Chapter 2

  1. Describe the program creation process.

    Write program in programming language like C++.

    Save program in text file. This is known as a source file.

    Compile source file into object file with program called a compiler.

    Link object file to other object files with program called a linker. This results in an executable file.

  2. What is the purpose of the C++ preprocessor?

    The preprocessor performs a transformation on source code files before they are compiled. The preprocessor acts of special preprocessor commands like #include, #ifndef, #define, #endif, etc...

  3. What is the purpose of the compiler?

    The compiler transforms source code files into machine instruction object modules targeted for a specific hardware platform.

  4. What is the purpose of the linker?

    The linker binds a symbolic name to the address at which the code for the symbolic name is located. The linker allows you to call a function in your program that is actually contained in another code module (i.e., a static library perhaps)

  5. What is the primary benefit of using an integrated development environment?

    You get a text editor, compiler, linker, debugger, and project manager all in one integrated product.

  6. List at least three features of an integrated development environment.

    Text editor, compiler, linker, project management, debugger

  7. What is the purpose of the UNIX make utility?

    To build complex projects. The make utility uses a makefile that contains project build dependency information. You have to manually create makefiles unless you are using an integrated development environment.



 < Day Day Up > 



C++ for Artists. The Art, Philosophy, and Science of Object-Oriented Programming
C++ For Artists: The Art, Philosophy, And Science Of Object-Oriented Programming
ISBN: 1932504028
EAN: 2147483647
Year: 2003
Pages: 340
Authors: Rick Miller

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net