初学VC遇到的小问题,恳请各位高手帮忙解答
建立了一个Win32 Console Application工程,在工程下建立了一个Test.cpp文件,其内容如下:
#include <mmsystem.h>
int main()
{
return 0;
}
目的是想看看能不能引入mmsystem.h头文件,直接运行出现错误提示:
c:\program files\microsoft visual studio\vc98\include\mmsystem.h(113) : error C2146: syntax error : missing ';' before identifier 'MMVERSION'
c:\program files\microsoft visual studio\vc98\include\mmsystem.h(113) : fatal error C1004: unexpected end of file found
请问(1)问题出现在哪儿?(2)怎样才能成功地引入mmsystem.h头文件?先谢了!