Skip to content

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

Description

@river-and-wood

#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'?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions