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

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. 

主站蜘蛛池模板: 伊宁县| 武陟县| 阿城市| 漾濞| 临西县| 新巴尔虎左旗| 文登市| 霍邱县| 都江堰市| 西充县| 彝良县| 新余市| 中超| 洪湖市| 山阴县| 大方县| 滕州市| 逊克县| 北流市| 临江市| 罗江县| 阜新市| 沾益县| 南康市| 太仆寺旗| 图木舒克市| 华蓥市| 科技| 新沂市| 沙坪坝区| 铁力市| 韶山市| 景泰县| 霍林郭勒市| 泗水县| 汕头市| 徐闻县| 广水市| 湘乡市| 丘北县| 柳州市|