随笔分类 - SDL
摘要:Qt + ffmpeg+SDl (转) (1)先转QT中.pro原文档的写法 1. 注释 从“ #” 开始,到这一行结束。 2. 指定源文件 SOURCES = *.cpp 对于多源文件,可用空格分开,如: SOURCES = 1.cpp 2.cpp3.cpp 或者每一个文件可以被列在一个分开的行里面,通过反斜线另起一行,就像这样 : SOURCES = hello.cpp main.cpp...
阅读全文
摘要:环境 vs 2005 编译时需要引入三个库 sdl.lib sdlmain.lib sdl_mixer.lib 以下为源代码
阅读全文
摘要:#include <SDL.h>#include <SDL_mixer.h>////Code irrelevant to the situation////Code irrelevant to the situation//void musicFinished() { int musicPlaying = 0;}int main(int argc, char *argv[]...
阅读全文

浙公网安备 33010602011771号