|
|
|
|
复制本帖HTML代码
|
高亮:
今天贴
X 昨天贴
X 前天贴
X |
To ignore the return character, you can add the following line in you code before input.
cin.ignore();
This line is to remove the return character from the std input stream.
I happened to have tried this today.
Any comment is welcome..
|
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法! |

Put your OWN COOL signature here!
|
|