home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Shareware - Software Farm 2
/
wosw_2.zip
/
wosw_2
/
CPROG
/
CPTUTOR2.ZIP
/
VEHICLE.HPP
< prev
next >
Wrap
Text File
|
1990-07-20
|
341b
|
18 lines
// Chapter 7 - Program 1
// vehicle header file
#ifndef VEHICLEHPP
#define VEHICLEHPP
class vehicle {
int wheels;
float weight;
public:
void initialize(int in_wheels, float in_weight);
int get_wheels(void);
float get_weight(void);
float wheel_loading(void);
};
#endif