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

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.

主站蜘蛛池模板: 张家口市| 田阳县| 百色市| 高清| 乾安县| 屏边| 花莲县| 嘉峪关市| 永安市| 南京市| 灵川县| 泊头市| 驻马店市| 南安市| 高陵县| 东阿县| 桓仁| 太保市| 自贡市| 嘉善县| 惠州市| 拜城县| 新闻| 双江| 玉田县| 金平| 乃东县| 海宁市| 泰来县| 桦甸市| 临西县| 巨鹿县| 铜川市| 肥城市| 江西省| 嫩江县| 灯塔市| 沽源县| 巴中市| 屏南县| 陇南市|