Practical C Programming, 3rd Edition
| I l @ ve RuBoard |
| She thinks that even up in heavenHer class lies late and snores. ”Cyril Connolly 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 |