   saving console output
  i have a console class that overrides the std::cout for printing... however id like other parts of my application to be aware of whats printed in the console...im wondering if there is some way to attach std::cout to a string or some kind of history that stores everything that was printed using "std::cout << "text";"   
  Check out the example code on this page.   ;  You can print to a std::stringstream, and then print the contents of that to std::cout.   ;  if you have overrided cout, why not just save the string into a vector?   ;  i think i miss used override due to lack of betters description...redirect would be more precise...EDIT::i solved it thx for the help and thx for the link Promit   