Original Post
I have this little game debug console thing. It all works nice and fins and everything, I just want to simplyfy the syntax for it. The way I have it now, you can just spit messages out to the console, like so
sConsole() << "here is some message";
sConsole().End();
The End() method adds the constructed string finally to the console, and prepares for another msg, etc. what I want to be able to do is
sConsole() << "here is some message" << End();
But I cannot figure out for the life of me the syntax to allow this to work. Any help?
btw - I dont just have an ''End'' function, I have other functions such as changing the current color of the text, etc...
-Vulcan