you can't actually use the erase in some cases (this may result in exeptions )
rather use xx.std("");
will clear the buffer.
-Mihir Patel
Note : Assume the string stream is xx
rather use xx.std("");
will clear the buffer.
-Mihir Patel
Note : Assume the string stream is xx
No comments:
Post a Comment