about
10/27/2022
C++ Story Libraries
C++ Story Code C++ Story Docs

Chapter #9 - C++ Libraries

Index of library code

9.0 Prologue

The C++ language comes with a great collection of standard libraries. There are scores of very well designed facilities and more came with the recent standardization of C++20. We will be discussing four of them here - the ones most often used building server and desktop applications. We will also discuss one of the (very many) Boost libraries, Boost::Asio, of which part is very likely to become a networking standard library. I will be working on this chapter intermittently.

9.1 Libraries

Library Description
Standard Libraries reference Annotated list of all the standard library headers from cppreference.com
Standard I/O Streams Supports stream input and output for terminal, files, and strings
Standard Template Library (STL) Provides containers, algorithms that act on containers, and iterators that join the algorithms to containers.
Standard File System Supports operations on files, paths, and directories
Standard Threads Provides facility for managing threads with locks, critical sections, and packaging for asynchronous operations.
Sockets Classes for starup and shutdown, client sockets, connecting sockets, and listening sockets
XmlDocument XmlDocument class and XmlElement classes
Survey of Boost Libraries Quick summaries of the Boost libraries most relevant to this site
Other Third-party Libraries Quick survey of some interesting libraries

9.2 References

C++ Networking TS draft
KissNet
Smart Output Iterators - Jonathan Boccara
Smart output iterators become pipes - Jonathan Boccara
C++ Seasoning (video) - Sean Parent - Going Native 2013
string formatting (see answer 15) - stackoverflow
  Next Prev Pages Sections About Keys