Top "Ostream" questions

In C++ std::ostream is the base class for output streams.

How do the stream manipulators work?

It is well known that the user can define stream manipulators like this: ostream& tab(ostream & output) { return …

c++ iostream ostream
C++ - ostream, friends and namespaces

Everything was fine until I moved my objects to a namespace. And now the compiler claims that my Color attributes …

c++ overloading ostream
Using ostream as a reference (C++)

I have a homework assignment where the header file is provided to us, and is unchangeable. Im having trouble figuring …

c++ pass-by-reference ostream
Can't std::ostream output a const char array?

For the fun and experience of it, I'm modifying and exploring the source code for Blobby Volley 2 1.0 (Linux). Well... I …

c++ operator-overloading ostream
C++ : friend declaration ‘declares a non-template function

I have a problem to overload the << stream operator and I don't find the solution : template<class …

c++ templates gcc ostream
Platform independent /dev/null in c++

Possible Duplicate: Implementing a no-op std::ostream Is there any stream equivalent of NULL in c++? I want to write …

c++ stream ostream default-parameters
How can I make an ostream reference an ofstream? (C++)

I'm trying to make a simple logger class, and I want the ability to either log to either a generic …

c++ reference ofstream ostream