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

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 
主站蜘蛛池模板: 哈巴河县| 固镇县| 无棣县| 靖宇县| 桐城市| 分宜县| 如东县| 怀柔区| 旅游| 竹北市| 安顺市| 盐边县| 讷河市| 江西省| 海城市| 林周县| 临沂市| 定兴县| 利津县| 达尔| 长岛县| 芦山县| 巴彦淖尔市| 翼城县| 济宁市| 资兴市| 钦州市| 会宁县| 潜山县| 肃北| 凉城县| 临江市| 奈曼旗| 贡山| 临夏县| 盐源县| 荔波县| 萨迦县| 天全县| 通城县| 茌平县|