vs2008编写一个小程序,想用随机数功能,srand((unsigned)time(NULL));nTemp=rand()%18;结果出错:出现无法解析的外部符号__imp__rand,已经包含stdlib.h和time.h.请来c/c++高手来回答,在线等,给出具体解决方法,感谢已经解决,关闭了