home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
vol_300
/
353_02
/
answers
/
ch07_2a.h
< prev
next >
Wrap
Text File
|
1992-01-19
|
373b
|
22 lines
// Chapter 7 - Programming exercise 2
#ifndef CARHPP
#define CARHPP
#include "vehicle.hpp"
class car : public vehicle {
int passenger_load;
public:
void initialize(int in_wheels, float in_weight, int people = 4);
int passengers(void);
};
#endif
// Result of execution
//
// (this file cannot be executed)