- 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.
- Mastering phpMyAdmin 3.4 for Effective MySQL Management
- 跟老齊學Python:輕松入門
- UI智能化與前端智能化:工程技術、實現方法與編程思想
- 單片機應用技術
- Cassandra Data Modeling and Analysis
- PostgreSQL Replication(Second Edition)
- 批調度與網絡問題的組合算法
- Node Cookbook(Second Edition)
- 零基礎學C語言第2版
- Kivy Cookbook
- 新印象:解構UI界面設計
- Getting Started with Python
- Scala Functional Programming Patterns
- Learning Grunt
- 從零學Java設計模式