官术网_书友最值得收藏!

Summary

Although not quite the longest, this was probably the chapter where we've covered the most C++ so far. We looked at the different types of loops we can use, such as for and while loops. We then studied arrays that we can use them to handle large amounts of variables and objects without breaking a sweat. We also learned about enumerations and switch. Probably the biggest concept in this chapter was functions, which allow us to organize and abstract our game's code. We will be looking more deeply at functions in a few more places in this book.

Now that we have a fully "working" tree, we can finish the game off, which we will do in the next and final chapter for this project.

主站蜘蛛池模板: 连云港市| 广西| 平塘县| 南召县| 望江县| 得荣县| 惠来县| 南川市| 五指山市| 阿拉善右旗| 五原县| 乌拉特中旗| 商南县| 长顺县| 北川| 鲜城| 肥东县| 玉龙| 抚远县| 扶风县| 塔河县| 漳浦县| 武鸣县| 罗田县| 错那县| 醴陵市| 仁怀市| 巴青县| 休宁县| 桂东县| 东乌| 专栏| 宜章县| 石阡县| 东兰县| 临夏县| 临夏市| 合江县| 台北县| 恭城| 明光市|