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

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 
主站蜘蛛池模板: 康马县| 彰化市| 肇东市| 高陵县| 上栗县| 夹江县| 古浪县| 铁岭县| 山东省| 呈贡县| 吴桥县| 方山县| 马鞍山市| 田阳县| 易门县| 日土县| 东兰县| 泸溪县| 建阳市| 富锦市| 察隅县| 云梦县| 平阳县| 苗栗市| 彭山县| 江都市| 汤原县| 浪卡子县| 西华县| 钟山县| 扬州市| 会泽县| 霞浦县| 逊克县| 溆浦县| 天津市| 奉节县| 光山县| 喀什市| 尤溪县| 武定县|