I l @ ve RuBoard |
So far you've used simple variables and structures to hold data and functions to process the data. C++ classes allow you to combine data and the functions that use it. In this chapter you'll see how a class can improve your code; you'll implement a simple stack two ways: first using a structure and functions, then using a class. |
I l @ ve RuBoard |