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

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 
主站蜘蛛池模板: 台东市| 长治市| 潼南县| 宁陵县| 崇明县| 章丘市| 绥化市| 左权县| 佛山市| 墨江| 德保县| 金湖县| 阳朔县| 灌阳县| 香格里拉县| 郎溪县| 得荣县| 东阳市| 合川市| 石景山区| 银川市| 吴桥县| 台州市| 婺源县| 普格县| 平武县| 中宁县| 丹东市| 宁阳县| 昂仁县| 巴楚县| 赫章县| 常州市| 惠安县| 博爱县| 云和县| 江源县| 孟村| 德阳市| 鸡东县| 富蕴县|