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

Low-Level Programming with C++

Initially, C++ was perceived as the successor of the C language; however, since then it has evolved into something big, sometimes scary, and even untamable. With recent language updates, it now represents a complex beast that requires time and patience to tame. We will start this chapter with the basic constructs that almost every language supports, such as data types, conditional and loop statements, pointers, structs, and functions. We will look at those constructs from the perspective of a low-level systems programmer, curious how even a simple instruction can be executed by the computer. A deep understanding of these basic constructs is mandatory in building a solid base for more advanced and abstract topics such as object-oriented programming.

In this chapter, we will learn more about the following:

  • The details of program execution and its entry point
  • Special properties of the main() function
  • Intricacies behind the function call and recursion
  • Memory segments and addressing fundamentals
  • Data types and how variables reside in memory
  • Pointers and arrays
  • The low-level details of conditionals and loops
主站蜘蛛池模板: 沽源县| 青阳县| 陆川县| 永寿县| 五常市| 邵阳市| 仲巴县| 宁武县| 津南区| 江都市| 黄山市| 鸡东县| 榆社县| 留坝县| 宜君县| 施甸县| 拉萨市| 克拉玛依市| 探索| 镶黄旗| 元氏县| 田阳县| 克什克腾旗| 宝丰县| 莆田市| 秀山| 崇仁县| 宝山区| 保亭| 蒙阴县| 那曲县| 玉山县| 洱源县| 东丰县| 准格尔旗| 南乐县| 阿鲁科尔沁旗| 信丰县| 沙坪坝区| 桃江县| 明星|