TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: COYOTE
from: JAVIER KOHEN
date: 1997-09-13 10:45:00
subject: DJGPP with C++ add-on

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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.