小编Jad*_*yas的帖子

使用flatlist反应原生无限滚动

我按照本教程https://www.youtube.com/watch?v=rY0braBBlgw 当我向下滚动它发送请求然后它陷入循环并且只是请求和请求.我认为这是listview中的scrollview的一个问题.

react-native

4
推荐指数
2
解决办法
1万
查看次数

为什么在我的程序完成之前我的控制台窗口关闭了?

#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)

运行应用程序后,我输入我的名字然后它自动关闭而不进入下一个语句.

c++

2
推荐指数
1
解决办法
64
查看次数

标签 统计

c++ ×1

react-native ×1