Category : C++ Source Code
Archive   : CPPTUT.ZIP
Filename : VEHICLE.H

 
Output of file : VEHICLE.H contained in archive : CPPTUT.ZIP
// Chapter 7 - Program 1
// vehicle header file

#ifndef VEHICLE_H
#define VEHICLE_H

class vehicle {
protected:
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


  3 Responses to “Category : C++ Source Code
Archive   : CPPTUT.ZIP
Filename : VEHICLE.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/