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

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.

主站蜘蛛池模板: 武汉市| 南漳县| 昌黎县| 蓬莱市| 大安市| 望都县| 甘南县| 江都市| 察哈| 德格县| 康平县| 黄龙县| 盖州市| 黄龙县| 尚志市| 吉安县| 定日县| 庆元县| 八宿县| 新密市| 桐城市| 辽宁省| 乐安县| 射阳县| 莱芜市| 东明县| 武安市| 洛隆县| 衡水市| 湟源县| 昌吉市| 临泽县| 建阳市| 辽源市| 吴江市| 台北县| 太湖县| 崇仁县| 行唐县| 北宁市| 阿拉尔市|