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

Summary

In this chapter, we covered the basics of programming—from what variables are and how to store values in them, to looking at operators and statements, to how to decide when each is required. After that, we looked at iterators and functions, which can be used to make our job simpler and automate the code as much as possible. Arrays and pointers help us to group and store data of a similar type, and with struct and enum we can create custom data types. Finally, we looked at classes and inheritance, which is the crux of using C++ and makes it convenient to define our data types with custom properties.

In the next chapter, we will look at the foundation of graphics programming and explore how 3D and 2D objects are displayed on the screen.

主站蜘蛛池模板: 盐边县| 二连浩特市| 常熟市| 新蔡县| 库伦旗| 庆元县| 肇庆市| 墨玉县| 定结县| 青冈县| 固安县| 游戏| 耿马| 万山特区| 寻乌县| 沅陵县| 沿河| 团风县| 临江市| 万山特区| 绍兴市| 临夏县| 聊城市| 乌兰察布市| 托里县| 镇原县| 克什克腾旗| 察哈| 定远县| 瑞安市| 大名县| 甘泉县| 宁城县| 阿图什市| 台前县| 淳安县| 吉隆县| 荣成市| 石河子市| 平果县| 广南县|