home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Boston 2
/
boston-2.iso
/
DOS
/
PROGRAM
/
C
/
CTUTOR
/
ANSWERS.ZIP
/
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)