CS210 Lab: Introduction to Visual C++
Prelab


Prelab Questions:

The following are some questions that you can answer prior to the lab. These questions are specific to C++.
  1. What is the difference between the header file and a program (or source) file?

  2.  
     
  3. Why do we use the scope operator "::" when defining member functions?

  4.  
     
  5. How many levels of protection are there for class members? List them.

  6.  
     
  7. What is inlining?

  8.  
     
  9. When shouldn't you inline functions?

  10.  
     
  11. How do you declare an integer variable?

  12.  
     
  13. How do you declare an integer pointer?

  14.  
     
  15. How do you assign a value of zero to an integer at the time of declaration?

  16.  
     
  17. What characters are used for commenting code?

  18.  
     

For Answers, 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.