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

  • 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.

主站蜘蛛池模板: 丰都县| 广安市| 济南市| 石台县| 抚远县| 庆云县| 织金县| 隆德县| 屏东市| 盖州市| 郎溪县| 新民市| 铜山县| 腾冲县| 富蕴县| 崇义县| 阳东县| 岳普湖县| 贵定县| 金沙县| 达尔| 长岛县| 郸城县| 溧水县| 郧西县| 临泽县| 诏安县| 钦州市| 河北区| 望江县| 奎屯市| 平原县| 长岛县| 永登县| 山丹县| 库车县| 平塘县| 新化县| 蕉岭县| 和顺县| 朝阳区|