c++游戏编程入门(第4版)
好莱坞能带来最好视觉效果、声乐效果以及纯粹的兴奋,顶级的计算机游戏也完全可以与其媲美。但是游戏这种娱乐方式与其他方式不同,它们能让玩家一连好几个小时守在屏幕跟前。能让游戏如此与众不同并且引人入胜的原因在于交互性。在计算机游戏中,我们不是坐下来观看主人公如何与怪物搏斗,而是自己担任主角。实现这种交互性的关键在于编程。编程让外星生物、外星人进攻中队或整支敌人军队在不同情况下对玩家做出不同的反应。编程让游戏的故事情节能够以新的方式展开。实际上,作为编程的结果,游戏可能以编写者想象不到的方式与玩家进行交互.
<a href="https://yq.aliyun.com/articles/92765">1.1 c++简介</a>
<a href="https://yq.aliyun.com/articles/92769">1.2 编写第一个c++程序</a>
<a href="https://yq.aliyun.com/articles/92773">1.3 使用std名称空间</a>
<a href="https://yq.aliyun.com/articles/92777">1.4 使用算术运算符</a>
<a href="https://yq.aliyun.com/articles/92782">1.5 声明和初始化变量</a>
<a href="https://yq.aliyun.com/articles/92785">1.6 使用变量进行算术运算</a>
<a href="https://yq.aliyun.com/articles/92787">1.7 使用常量</a>
<a href="https://yq.aliyun.com/articles/92789">1.8 lost fortune简介</a>
<a href="https://yq.aliyun.com/articles/92791">1.9 本章小结</a>
<a href="https://yq.aliyun.com/articles/92794">1.10 问与答</a>
<a href="https://yq.aliyun.com/articles/92797">1.11 问题讨论</a>
<a href="https://yq.aliyun.com/articles/92799">1.12 习题t</a>
<a href="https://yq.aliyun.com/articles/92810">2.1 理解真值</a>
<a href="https://yq.aliyun.com/articles/92812">2.2 使用if语句</a>
<a href="https://yq.aliyun.com/articles/92813">2.3 使用else子句</a>
<a href="https://yq.aliyun.com/articles/92817">2.4 使用带else子句的if语句序列</a>
<a href="https://yq.aliyun.com/articles/92819">2.5 使用switch语句</a>
<a href="https://yq.aliyun.com/articles/92820">2.6 使用while循环</a>
<a href="https://yq.aliyun.com/articles/92822">2.7 使用do循环</a>
<a href="https://yq.aliyun.com/articles/92824/">2.8 使用break和continue语句</a>
<a href="https://yq.aliyun.com/articles/92826">2.9 使用逻辑运算符</a>
<a href="https://yq.aliyun.com/articles/92828">2.10 随机数的生成</a>
<a href="https://yq.aliyun.com/articles/92829">2.11 理解游戏主循环</a>
<a href="https://yq.aliyun.com/articles/92830">2.12 guess my number游戏简介</a>
<a href="https://yq.aliyun.com/articles/92831">2.13 本章小结</a>
<a href="https://yq.aliyun.com/articles/92832">2.14 问与答</a>
<a href="https://yq.aliyun.com/articles/92833">2.15 问题讨论</a>
<a href="https://yq.aliyun.com/articles/92834/">2.16 习题</a>