codeblocks添加背景音乐没有声音,有一个警告ignoring #pragma comment怎么解决
#include <windows.h>
#pragma comment(lib,"winmm.lib")
int main()
{
PlaySound(TEXT("C:\\Users\\86187\\Desktop\\A.wav"), NULL,SND_FILENAME | SND_ASYNC);
PlaySound(NULL,NULL,SND_FILENAME);
return 0;
}