I am a novice C++ programmer, and this is very basic.
I would like define a Log class derived from ostream,
so that in it's simple implemenation it would just print
to cout, and in the later version it would write to a file.
I am looking for something like as follows.
class Log : ostream
main(int argc, char *argv)
log << "Logging data" << endl;