MiGi's Notes
網路上找到的好東西
Tuesday, February 17, 2009
cin,cin.getline为何不能共同使用. C/C++ / C语言 - CSDN社区 community.csdn.net
cin,cin.getline为何不能共同使用. C/C++ / C语言 - CSDN社区 community.csdn.net
解决的办法很简单:在
cin >> n;
后添加如下一行代码即可:
cin >> ws;
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
notes
##HIDEME##
Blog Calendar
Language Selector
auto detect
English
繁體中文
All
Welcome!
歡迎!
Labels
new idea
(5)
project
(5)
OpenCL
(3)
multilingual
(3)
Hacking Computer
(2)
project ideas
(2)
MONO
(1)
OpenCV
(1)
Photography
(1)
WINE
(1)
research
(1)
My Flickr Photos
www.
flick
r
.com
This is a Flickr badge showing public photos and videos from
migichen
. Make your own badge
here
.
Blog Archive
►
2011
(16)
►
November
(1)
►
September
(1)
►
June
(4)
►
May
(6)
►
March
(1)
►
February
(2)
►
January
(1)
►
2010
(28)
►
October
(2)
►
August
(1)
►
June
(1)
►
May
(3)
►
March
(3)
►
February
(9)
►
January
(9)
▼
2009
(42)
►
November
(1)
►
September
(5)
►
August
(1)
►
July
(1)
►
June
(6)
►
May
(6)
►
April
(16)
►
March
(3)
▼
February
(2)
cin,cin.getline为何不能共同使用. C/C++ / C语言 - CSDN社区 comm...
藏經閣: cin >> 與 getline(cin, s)合用的問題
►
January
(1)
►
2008
(75)
►
December
(1)
►
November
(7)
►
October
(4)
►
September
(8)
►
July
(14)
►
June
(1)
►
May
(4)
►
April
(10)
►
March
(26)
►
2007
(1)
►
June
(1)
►
2006
(25)
►
November
(2)
►
August
(2)
►
July
(5)
►
June
(16)
►
2005
(2)
►
December
(2)
Recent Comments
failed!
Javascript not supported here!
Plaxo Badge
No comments:
Post a Comment