On 26-Aug-97, Coyote wrote to All about DJGPP with C++ add-on.
C> #include "car.hpp" //CAR.HPP IS IN THE SAME DIRECTORY
C> void car::initialize(int in_wheels, float in_weight, int people) {
C> passenger_load = people; vehicle::initialize(in_wheels, in_weight);
C> }
C> int car::passengers(void) { return passenger_load; }
Your program lacks of a main() function, so it can not be compiled as an
executable, maybe the command line is wrong. Also, your class doesn't seem
to be actually defining a vehicle object, or you had a type where you call
vehicle::initialize().
Javier Kohen [The_Crusher] http://jkohen.base.org
... EchoMail (ek-o-mael) n. A tagline distribution system
-!- CrusherTag 0.3.2.
--- Terminate 5.00/Pro
---------------
* Origin: The King of The Ring (4:900/748.3)
|