CS210 Lab: Introduction to Visual C++
Prelab Answers

Prelab Answers:

The following are the prelab questions and answers.
  1. What is the difference between the header file and a program (or source) file?
  2. Why do we use the scope operator "::" when defining member functions?
  3. How many levels of protection are there for class members? List them.
  4. What is inlining?
  5. When shouldn't you inline functions?
  6. How do you declare an integer variable?
  7. How do you declare an integer pointer?
  8. How do you assign a value of zero to an integer at the time of declaration?
  9. What characters are used for commenting code?

Back to Prelab questions click here
Back to the Introduction to Visual C++ Lab click here

CS Dept Home Page
CS Dept Class Files
CS210 Class Files

Copyright: Department of Computer Science, University of Regina.