求助!! 找不到sqrt()函数了
找不到开方的函数了,急死人了。//----------------------------------------------------------------------------------------------------------
#include"stdio.h"
#include"math.h"
int main()
{
int mid;
mid = sqrt(36);
printf("%d\n",mid);
return 0;
}
//-----------------------------------------------------------------------------------------------------------
错误信息:
--------------------Configuration: test - Win32 Debug--------------------
Linking...
LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16
Debug/test.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
test.exe - 2 error(s), 0 warning(s)
//-------------------------------------------------------------------------------
郁闷,谁能帮帮我啊
先谢过了。。。