Original Post
Hi,
One of the really nice features of c++ IMHO are iostreams. Just define the << operator and voila, you can outut you object to the console or files etc.
The problem is what if I wanted to replace cout in the first place? What if I wanted to do say, coutGL << "Lalalala" << endlGL; to output to an OpenGL scene, how could that be accomplished?
This is not a GL question... I''m interested in overloading?/ inhereting from? cout.
Thanks,
OberonZ
---
PAGE FAULT: Please insert "Swap File, Disk 2"
and press any key to continue.
PAGE FAULT: Please insert "Swap File, Disk 2"
and press any key to continue.