::> HB> (ofstream &)*this << l.MarkCount << l.Last_Lap << l.Prev_Lap <<
::> HB> l.Total_LapTime << l.Avg_Lap << l.Bes
::> After I added
::> #include
::> typedef int Timer_t;
::> struct timer_base
::> at the top and removed three "snip" lines, Borland C++ 5.01 compiled
::> your code without issuing any error messages.
Must be a bug in 4.5 (and in BCOS2 2.0). Both give me headaches with this.
In any case, I said screw it, and re-arranged the code so that rather than
having the separate derived stream classes, I made the LapTimer class itself
derived from fstream. Didn't take much and all is peachy now (actually, much
*better* !)
I guess I'm not supposed to have friends
# Herbert Bushong harchon@centuryinter.net [TEAM OS/2]
- Blackbeard's BBS Intelec: 239:600/0
+ Fido: 1:19/19 http://www.intelec.com/software/
---
RM 1.31 2508 Two is company... Three is the result.
---------------
* Origin: Blackbeard's BBS - Ville Platte, LA - 318-468-3385 (1:19/19)
|