开发平台(Platform): (Ex: Win10, Linux, ...)
window10
编译器(Ex: GCC, clang, VC++...)+目标环境(跟开发平台不同的话需列出)
code blocks GCC
额外使用到的函数库(Library Used): (Ex: OpenGL, ...)
winmm,pthread
问题(Question):
我目前在作一个小音乐游戏可是出现很多问题
PlaySound函式没有反应,没有出现error,可是也没有声音,另外我是参考
http://goo.gl/1JndPK 写的,我的程式码在下方。
另外pthread方面,在用学校电脑打时,可以直接#include<phread>跑程式,可是回家时却
出现error[fatal error :phread.h :no such file or directory],我以为是档案
遗失,下载了dll丢进去还是一样出现error。
另外我想请教大大,我想写多执行绪,用这个合适吗?多执行绪目的只是用来跑一个
循环变动boolen值(音乐游戏打点判定)
感谢各位!
喂入的资料(Input):
预期的正确结果(Expected Output):
错误结果(Wrong Output):
程式码(Code):(请善用置底文网页, 记得排版)
PlaySound(TEXT("music.wav"),NULL, SND_SYNC);
补充说明(Supplement):