O'Reilly logo

Sams Teach Yourself C++ in 21 Days , Fifth Edition by Bradley Jones, Jesse Liberty

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix D. Answers

Day 1

Quiz

1. Interpreters read through source code and translate a program, turning the programmer’s “code,” or program instructions, directly into actions. Compilers translate source code into an executable program that can be run at a later time.

2. Every compiler is different. Be certain to check the documentation that came with your compiler.

3. The linker’s job is to tie together your compiled code with the libraries supplied by your compiler vendor and other sources. The linker lets you build your program in “pieces” and then link together the pieces into one big program.

4. Edit source code, compile, link, test (run), repeat if necessary.

Exercises

1. This program initializes two integer variables (numbers) and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required