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

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.

主站蜘蛛池模板: 内黄县| 全南县| 雅安市| 越西县| 利津县| 教育| 德化县| 祁门县| 长乐市| 芮城县| 黄梅县| 马边| 民勤县| 张掖市| 奎屯市| 奉新县| 永修县| 织金县| 南昌市| 永川市| 苏尼特右旗| 广宁县| 子长县| 平顺县| 平安县| 绥滨县| 互助| 贵溪市| 保康县| 高邮市| 读书| 沭阳县| 抚宁县| 长垣县| 龙南县| 四川省| 武义县| 丰县| 融水| 平潭县| 原阳县|