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

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.

主站蜘蛛池模板: 黔西县| 都兰县| 介休市| 永城市| 会同县| 长丰县| 柯坪县| 贺州市| 高邮市| 华池县| 丘北县| 武安市| 北碚区| 全椒县| 建始县| 新晃| 扶绥县| 突泉县| 韶山市| 华池县| 太仆寺旗| 中山市| 隆尧县| 乌拉特前旗| 宜黄县| 大英县| 柳江县| 通江县| 拉孜县| 石狮市| 五大连池市| 芒康县| 白沙| 永川市| 津市市| 威海市| 宿州市| 香港 | 长宁县| 呼图壁县| 富顺县|