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

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. 

主站蜘蛛池模板: 青神县| 沈丘县| 工布江达县| 八宿县| 镇远县| 德安县| 达拉特旗| 图木舒克市| 会东县| 利津县| 阜城县| 武功县| 荆州市| 麦盖提县| 澳门| 浮山县| 孝昌县| 政和县| 墨竹工卡县| 浦江县| 喀什市| 平和县| 巴楚县| 阿城市| 珠海市| 伊川县| 甘洛县| 敦煌市| 天峻县| 北川| 乐东| 江孜县| 斗六市| 东丰县| 七台河市| 文成县| 庆元县| 东宁县| 金湖县| 江安县| 大姚县|