摘要: 因为之前在一些机试中碰到了一些比较奇怪的输入,就又学习了一下c++的一些输入方式 getline() c++中的getline()被定义了多次 cin.getline(char *);cin.getline(char *, int size);cin.getline(char *, int size, char delim); //delim是分隔符,默认为换行符 ... 阅读全文
posted @ 2017-08-17 16:04 四处犄角 阅读(182) 评论(0) 推荐(0) 编辑