Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vimplus的标准库要自己配置吗? #1

Open
river-and-wood opened this issue Nov 7, 2023 · 2 comments
Open

vimplus的标准库要自己配置吗? #1

river-and-wood opened this issue Nov 7, 2023 · 2 comments

Comments

@river-and-wood
Copy link

#include
#include
#include
#define MAXLEN 100
using namespace std;
int main()
{
srand(time(0));
int m = rand();
return 0;
}

error: use of undeclared identifier 'srand'?

@river-and-wood
Copy link
Author

不对,程序能运行,应该是ycm插件的原因

@river-and-wood
Copy link
Author

Uploading 屏幕截图 2023-11-07 203905.png…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant