- Hands-On System Programming with C++
- Dr. Rian Quinn
- 149字
- 2021-07-02 14:42:37
Summary
In this chapter, we reviewed the different integer types (and briefly reviewed the floating point types) that are provided by C and C++ for system programming. We started with a discussion on the default types provided by C and C++ and the pros and cons associated with these types, including the common int type, explaining what it is, and how it is used. Next, we discussed the standard integer types provided by stdint.h and how they address some of the issues with the default types. Finally, we concluded this chapter with a discussion on structure packing and the issues associated with type conversions and optimizations that the compiler can make in different scenarios.
In the next chapter, we will cover changes made by C++17, a C++ specific technique called Resource Acquisition Is Initialization (RAII) and provide an overview of the Guideline Support Library (GSL).
- 數(shù)據(jù)庫基礎教程(SQL Server平臺)
- MySQL數(shù)據(jù)庫進階實戰(zhàn)
- 程序員修煉之道:從小工到專家
- Creating Mobile Apps with Sencha Touch 2
- 大數(shù)據(jù)可視化
- 工業(yè)大數(shù)據(jù)分析算法實戰(zhàn)
- 智能數(shù)據(jù)時代:企業(yè)大數(shù)據(jù)戰(zhàn)略與實戰(zhàn)
- 數(shù)據(jù)中心數(shù)字孿生應用實踐
- 達夢數(shù)據(jù)庫運維實戰(zhàn)
- 探索新型智庫發(fā)展之路:藍迪國際智庫報告·2015(上冊)
- 聯(lián)動Oracle:設計思想、架構實現(xiàn)與AWR報告
- 改變未來的九大算法
- 菜鳥學SPSS數(shù)據(jù)分析
- Deep Learning with R for Beginners
- AndEngine for Android Game Development Cookbook