ostream << operator doesnt print first stream

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Overloaded ostream << operator doesnt print first stream C++ .Net Framework.
For example :
ostream os;
os <<"Hello"<<"World"<<ends;
It will print something like:
0x127aa123World.
Is this something changed on .NET framework ??
Somehow .NET is considering the first stream as void pointer . Why Why
"_Myt& operator < <(const void *_Val) " is called?
 
Overloaded ostream << operator doesnt print first stream C++ .Net Framework.

This is a C# group. Try posting your question to
microsoft.public.dotnet.languages.vc



Mattias
 
Back
Top