Hi,
I'm learning C++ now and I'm now lerning about streams and stuff.
I was playing with iostream and a weird thing happened:
Output:Code:#include <iostream.h> int main() { cout.operator <<("Wazzup\n"); return 0; }
Wazzup
Press any key to continue
Output:Code:#include <iostream> using namespace std; int main() { cout.operator <<("Wazzup\n"); return 0; }
0046B01CPress any key to continue
Anyone has any idea why this happens?
BTW, I compiled it using VC++6.![]()





Reply With Quote