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

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

主站蜘蛛池模板: 云安县| 黔南| 中阳县| 泗阳县| 陵水| 大足县| 东海县| 阿拉尔市| 雅江县| 达日县| 孟津县| 澜沧| 交口县| 虎林市| 益阳市| 肃宁县| 隆回县| 凯里市| 屯门区| 沙洋县| 韶山市| 故城县| 青河县| 乃东县| 阳东县| 连平县| 隆安县| 太仓市| 海林市| 富宁县| 兴山县| 灵武市| 若尔盖县| 信阳市| 塘沽区| 德保县| 汉中市| 崇明县| 尖扎县| 方正县| 垦利县|