Hey guys.
Can someone perhaps help explain this issue I'm having?
Essentially I get an error whenever I add an endl or a out stream to another.
For example:
Works fine but....
Doesn't
I have the same issue with this:
Works fine but the one below doesn't
Any ideas or suggestions? I've tried to trace back the outstream as it's overloaded and every step of the way it's fine. I simply don't understand it. -.-
Can someone perhaps help explain this issue I'm having?
Essentially I get an error whenever I add an endl or a out stream to another.
For example:
Code:
cout << ac.getSizeOfCollection();
Code:
cout << ac.getSizeOfCollection() << " Size" <<endl;
I have the same issue with this:
Code:
cout << "fdsddigifg " << meh.getNumberOfTracks();
//
Code:
cout << "fdsddigifg " << meh.getNumberOfTracks() <<" Tracks"<<endl;
//
Any ideas or suggestions? I've tried to trace back the outstream as it's overloaded and every step of the way it's fine. I simply don't understand it. -.-