今天碰到这句话出现了问题:std::srand((unsigned int)time(NULL));
编译时提示: error C3861: “time”: 找不到标识符。
解决方法:#include <time.h>