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

Summary

In this chapter, we introduced the details of program execution. We discussed functions and the main() function with some of its special properties. We found out how the recursion works and that the main() function cannot be called recursively.

As C++ is one of the few high-level languages that supports low-level programming concepts such as accessing memory bytes by their address, we studied how data resides in the memory and how can we incorporate pointers in accessing that data. Understanding these details is a must for a professional C++ programmer.

Lastly, we touched on the topic of conditionals and loops from the perspective of an assembly language. Throughout the chapter, we introduced C++20 features.

In the next chapter, we will learn more about object-oriented programming (OOP), including the inner details of the language object model. We will dive into the details of virtual functions and see how to use polymorphism. 

主站蜘蛛池模板: 金昌市| 新乐市| 新泰市| 东方市| 山阴县| 井研县| 柳州市| 宾阳县| 老河口市| 敦煌市| 大宁县| 佛学| 巴楚县| 都昌县| 兴城市| 华蓥市| 兴化市| 盘锦市| 通江县| 渭南市| 青州市| 乡宁县| 长治市| 开平市| 吴桥县| 闻喜县| 连江县| 进贤县| 龙岩市| 庆云县| 隆安县| 婺源县| 时尚| 内丘县| 翁源县| 绵阳市| 原平市| 阳曲县| 左贡县| 余干县| 称多县|