CS 105: C++
Quiz 8 Requirements
C++: Chapter 1, 2

  1. Know the difference between traditional C comments and the new comment style added in C++.

  2. What is the C++ equivalent of printf?  What library header do you need to include for it?  How is it used to print an integer?  A float?  A string?  Understand how to combine multiple statements of this type into one.

  3. How can you print to standard error in C++?

  4. Understand default parameter values in functions.  (See "Flexibility with Parameters" on page 15 of the C++ book.)

  5. Understand the basics of function overloading.

  6. What is typically used in C++ instead of NULL?

  7. Be able to name 3 typical filename suffixes for a C++ code file and 2 typical filename suffixes for a C++ header file.

  8. What change makes the use of structs slightly easier in C++ than it was in C?

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.