home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Shareware - Software Farm 2
/
wosw_2.zip
/
wosw_2
/
CPROG
/
CPTUTOR2.ZIP
/
ANSWERS.ARC
/
CH07_2A.HPP
< prev
next >
Wrap
Text File
|
1990-07-20
|
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)