我按照本教程https://www.youtube.com/watch?v=rY0braBBlgw 当我向下滚动它发送请求然后它陷入循环并且只是请求和请求.我认为这是listview中的scrollview的一个问题.
#include <iostream>
#include <string>
using namespace std;
int main()
{
cout << "Enter you name here: " << flush; //prints Enter your name here:
string input;
cin >> input;
cout << "Is this correct?: " << input << endl; //asks user Is this correct?:
cin.get();
return 0;
}
Run Code Online (Sandbox Code Playgroud)
运行应用程序后,我输入我的名字然后它自动关闭而不进入下一个语句.