Introduction to C++
Jonah Warrenjonah AT parsons DOT edu
http://www.feedtank.com/2005/cpp
Code from Class 9
(You've seen this game before. We will go over as a group how to use an object oriented approach to make this game. So pay attention. :)- simple_game.cpp (simple game we are going to give an extreme OO makeover to. man, thats bad.)
- class_eg.cpp (an implementation of simple_game using classes)
- class_eg2.cpp (introducing constructors + destructors)
- class_eg3.cpp (shows how multiple objects can be created with ease... and the power of coupling Player data and methods. Also shows using a pointer to a class)