HB> class ofLapTimerStr;
HB> class ifLapTimerStr;
[...]
HB> ofLapTimerStr& ofLapTimerStr::operator<<(LapTimer &l)
HB> {
HB> (ofstream &)*this << l.MarkCount << l.Last_Lap << l.Prev_Lap <<
HB> l.Total_LapTime << l.Avg_Lap << l.Bes
HB> return *this;
HB> }
After I added
#include
typedef int Timer_t;
struct timer_base
{
int MarkCount;
};
at the top and removed three "snip" lines, Borland C++ 5.01 compiled
your code without issuing any error messages.
Thomas
---
þ MM 1.0 #0113 þ Message entered on Cray Laptop.
---------------
* Origin: McMeier & Son BBS (2:301/138)
|