Heh, that's like a combination of my suggestion with vart's suggestion.
Type: Posts; User: laserlight
Heh, that's like a combination of my suggestion with vart's suggestion.
Yes, but that is only at one place.
No, you don't. Write functions that operate on std::ostream. Then, you can pass std::cout, or some other output stream, by reference to the function that calls the others.
Just print to std::cout?