Help: operator ">>", "<<" with double

Help: operator ">>", "<<" with double

Post by xiaod.. » Tue, 12 Oct 1993 04:57:06



I am using Turbo C++ for Windows. I've got a linker error as follows:

Linker Error:Undefined symbol operator << [opstream near&, double] in
Module LAYER.CPP

But opstream does has a friend operator << for this as I see it from
online help:

friend Ropstream operator << (Ropstream PS, double d); // from online help.

Is this "<<" different from the previous "<<"? Anything wrong here?
Ropstream here can read and write int and char, but doesn't work to double
and float. I can't figure out the difference.

Any advice will be greatly appreciated.

Xiaodong

 
 
 

1. Operator ">>", "<<" with double

I am using Turbo C++ for Windows. I've got a linker error as follows:

Linker Error:Undefined symbol operator << [opstream near&, double] in
Module LAYER.CPP

But opstream does has a friend operator << for this as I see it from
online help:

friend Ropstream operator << (Ropstream PS, double d); // from online help.

Is this "<<" different from the previous "<<"? Anything wrong here?
Ropstream here can read and write int and char, but doesn't work to double
and float. I can't figure out the difference.

Any advice will be greatly appreciated.

Xiaodong

2. Creating links without underlinine

3. cout << "(" << ")";

4. quicken will not open after security update downloads

5. HELP >>>>>>>>>>>>> WINAPI <<<<<<<<<<<<<<<<<

6. ffs international?

7. Windows "Large Fonts" <--> "Small Fonts" problem...

8. Can't MsgBox a simple Access 'TEXT' variable ?

9. "Fast Pimpl" Idiom in <<Exceptional C++>>?

10. Why "map<int, map<int, char*>> strings;" wrong?

11. "Fast Pimpl" Idiom in <<Exceptional C++>>?

12. refcast ambiguity "((<typename> &) <expression>)"

13. >>>>>>>>> PROBLEM WITH MSICPB.EXE <<<<<<<<<<<<<<<<<