摘要: 程序员的自我修养原文3.3节中有这么一段 Quiz 变量存放位置 现在让我们来做一个小的测试,请看以下代码: static int x1 = 0; static int x2 = 1; x1和x2会被放在什么段中呢? x1会被放在.bss中,x2会被放在.data中。为什么一个在.bss段, 一个在 阅读全文
posted @ 2025-11-11 21:42 Makiras1176 阅读(2) 评论(0) 推荐(0)
摘要: 1.https://www.cppgamedev.top/courses/sdl-space-shooter/parts/sdl-fundamentals 练习3:添加音效播放功能(使用Mix_LoadWAV和Mix_PlayChannel函数) 1.SDL使用的音频数据结构 chunk 完全预先加 阅读全文
posted @ 2025-10-22 00:59 Makiras1176 阅读(6) 评论(0) 推荐(0)