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

Libraries

C++ not only defines the basic environment and language syntaxit also provides a set of libraries that may be leveraged by a programmer to perform system programming. These include the following:

  • Console input/output libraries: These include the iostream, iomanip, and string libraries, which provide the ability to work with strings, format them, and output them (or grab input from the user). We will discuss most of these libraries in Chapter 6Learning to Program Console Input/Output.
  • Memory management libraries: These include the memory library, which contains memory management utilities that help to prevent dangling pointers. They will be discussed in Chapter 7A Comprehensive Look at Memory Management.
  • File input/output libraries: These include the fstream and filesystem (new to C++17) libraries, which will be discussed in Chapter 8Learning to Program File Input/Output.
  • Time libraries: These include the chrono library, which will be discussed in Chapter 11Time Interfaces in Unix.
  • Threading libraries: These include the thread, mutex, and conditional_variable libraries, which will be discussed in Chapter 12Learn to Program POSIX and C++ Threads
  • Error-handling libraries: These include the exception support libraries, which will be discussed in Chapter 13Error - Handling with Exceptions 
主站蜘蛛池模板: 张家港市| 恩平市| 雷州市| 成都市| 定西市| 雅江县| 瑞金市| 太保市| 连云港市| 囊谦县| 洛阳市| 靖宇县| 旬邑县| 原阳县| 乌苏市| 宜都市| 玛沁县| 金门县| 青铜峡市| 安仁县| 新巴尔虎左旗| 化隆| 甘孜县| 宁海县| 新宾| 青田县| 那曲县| 苏尼特左旗| 中江县| 循化| 革吉县| 政和县| 西乌珠穆沁旗| 绥滨县| 怀远县| 安乡县| 樟树市| 云龙县| 陆丰市| 昂仁县| 宜春市|