On Monday 10 February 2003 12:09 pm, you wrote:
You know what bugs me here? That people have started using this list as a cheap means of reading self explanatory error messages. The above error message is short and easy to understand. Did you even read it before posting to this list?
[snip] Hey Superhero!, i forgot to mention but i had done that too. And hey buddy nebody who knows a dime's worth of *ENGLISH* can read the error message. Try to give answers to questions instead of finding faults with the question. Will do good for u. Take me on that ;) And btw Manish's suggestion that i flush the buffer using endl works. But i have to manually flush it everytime i use a cout. This sucks.Ne pointers Manish? Regards Sankha
Sankha Subhra Som wrote:
And btw Manish's suggestion that i flush the buffer using endl works. But i have to manually flush it everytime i use a cout. This sucks.Ne pointers Manish?
Yes -- if this sucks so much, write a wrapper over your cout call that will always append a newline (endl) to your output. Do you know how operator overloading works? Do you know about streams in C++? Create your own thin-wrapper output stream with the << operator overloaded to append endl in each call. This is not essential but a good exercise for character building.
In short, GET A BOOK and LEARN C++!
-mj