(转)getline函数的一个小bug
来源:互联网 发布:豫鲁书院 知乎 编辑:程序博客网 时间:2024/05/17 01:29
#include <string>
int main()
{ using namespace std;
string str;
std::cout<<"Please input your name:/n";
getline(cin,str);
std::cout<<"Hello,"<<str<<"!!/n";SYMPTOMS
Note Because the resolution involves modifying a system header file, extreme care should be taken to ensure that nothing else is changed in the header file. Microsoft is not responsible for any problems resulting from unwanted changes to the system header files.else if (_Tr::eq((_E)_C, _D)) {_Chg = true; // _I.rdbuf()->snextc(); /* Remove this line and add the line below.*/ _I.rdbuf()->sbumpc(); break; }
STATUS
- (转)getline函数的一个小bug
- 关于VC++6.0中getline函数的一个bug
- vc++6.0 中 getline 函数的 bug
- 【转】php中iconv函数的一个小bug
- 关于getline输入的一个小问题
- getline函数的几个小用法
- getline的bug
- fseek()的一个小BUG
- C++ sstream的一个小bug(也算不上bug)
- getline()函数的详解
- c++的getline一个关于缓冲区的一个小问题
- TEmbeddedwb的一个小bug
- gcc的一个小bug
- CStdioFile的一个小Bug
- gmail的一个小bug
- csdn的一个小bug
- Firtex的一个小bug
- tinyxml 的一个小 bug
- 有关flex的c++编程方法
- 观察者模式_OBSERVER_案例详解
- warning:deprecated conversion from string constant to 'char *'
- sqlite与array
- php+mysql后台管理系统
- (转)getline函数的一个小bug
- Unicode和UTF-8之间的转换详解
- 资源文件下载
- 设置VMware的共享目录
- 剖析ifstream打开含中文路径名文件失败的原因
- 后台系统配置文件admin_main.php
- EM square
- PHP函数printf()、sprintf()的用法
- KMP算法