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

  • C++ Fundamentals
  • Antonio Mallia Francesco Zoffoli
  • 151字
  • 2021-06-11 13:35:58

Summary

In this chapter, we saw the basic structure and syntax of the language. We started with an overview of the compilation model, the process of transforming C++ source code into an executable program. We wrote, compiled, and ran our first program, a simple main function that successfully returns an exit/return code.

We described the built-in arithmetic types that the language offers.

We learned how to declare and define variable names, and what the difference is between references and pointers. We also saw the use of the const qualifier and its advantages.

Furthermore, we talked about control flow statements and how to exploit them to perform more complex actions.

Finally, we presented arrays and multidimensional arrays, and the operation to perform to initialize them and access their values. In the next chapter, we will learn what functions in C++ are, and how and why we should use them in our code.

主站蜘蛛池模板: 丹东市| 高尔夫| 平原县| 吉木乃县| 肥乡县| 保康县| 汽车| 定安县| 离岛区| 社旗县| 潞城市| 察隅县| 莱芜市| 牙克石市| 且末县| 孙吴县| 崇明县| 绥芬河市| 梧州市| 沙湾县| 通州市| 大同县| 新巴尔虎右旗| 大姚县| 西丰县| 安福县| 德化县| 昌黎县| 枣强县| 固阳县| 松潘县| 九寨沟县| 柳江县| 铜陵市| 邯郸市| 保靖县| 张家川| 邵阳县| 漳平市| 宁夏| 普格县|