|
#include"windows.h"
#include
srand( (unsigned)time( NULL ) );
cout=rand()%cout;
但是报错
gobanggame.obj : error LNK2019: unresolved external symbol _time referenced in function "public: struct tagPOINT __thiscall gobanggame::BestValue(void)" (?BestValue@gobanggame@@QAE?AUtagPOINT@@XZ)
emulatorDbg/gobang.exe : fatal error LNK1120: 1 unresolved externals
请知道的帮忙解决谢谢
|
|