Introduction to C++
Jonah Warrenjonah AT parsons DOT edu
http://www.feedtank.com/2005/cpp
Code from Class 10
(You've seen this code before. Quick review of OO programming... plus making arrays of objects and investigating public / private)- class_eg4.cpp (shows use of public and private variables from last week's example)
- main.cpp (we are just going to add a point object to this code and draw some points)
- main2.cpp (the main part of the project where we create a point object with the class we declared)
- point.cpp (defines all of our class methods / functions)
- point.h (where our class declaration happens: specify class variables and function prototypes. REMEMBER SEMICOLON!)