home *** CD-ROM | disk | FTP | other *** search
/ C++ for Dummies (3rd Edition) / C_FD.iso / CHAP12 / CHAP12_2.CPP < prev    next >
C/C++ Source or Header  |  1996-09-15  |  226b  |  11 lines

  1. // Chap12_2.cpp
  2. #include "student.h"
  3. //the following invokes each constructor in turn
  4. int main() 
  5. {
  6.    Student noName;
  7.    Student freshMan("Smel E. Fish");
  8.    Student xfer("Upp R. Classman", 80, 2.1);
  9.    return 0;
  10. }
  11.