Let me share with you a brief list of other library files in C++
Header File | Functionality |
<iostream> | Input and output stream objects (std::cin, std::cout, std::cerr, std::clog). |
<algorithm> | Functions for a variety of algorithms (e.g., std::sort, std::find, std::copy). |
<atomic> | Atomic operations for thread-safe variable access (std::atomic). |
<cassert> | Macro for adding diagnostic checks (e.g., assert). |
<cctype> | Functions to classify and transform individual characters (e.g., isalpha, isdigit, toupper). |
<cmath> | Common mathematical functions (e.g., sin, cos, sqrt, pow). |
<condition_variable> | Condition variable class for thread synchronization (std::condition_variable). |
<cstdio> | C-style input and output functions (e.g., printf, scanf). |
<cstdlib> | General purpose utilities: memory management, random numbers, and system functions (e.g., malloc, rand, system). |
<cstdlib> | General purpose utilities: program control, dynamic memory allocation, random numbers, and environment (e.g., abort, exit, getenv). |
<cstring> | C-style string handling functions (e.g., strcpy, strlen, strcmp). |
<ctime> | Functions for manipulating date and time (e.g., time, localtime, strftime). |
<deque> | Double-ended queue class (std::deque). |
<exception> | Exception handling classes and functions (std::exception, std::runtime_error). |
<fstream> | File stream classes for reading and writing files (std::ifstream, std::ofstream, std::fstream). |
<functional> | Function objects, function pointers, and standard function utilities (std::function, std::bind). |
<future> | Support for asynchronous programming (std::future, std::promise). |
<iomanip> | Functions to manipulate input/output formatting (e.g., std::setw, std::setprecision). |
<iterator> | Iterator classes and utilities (std::iterator, std::advance, std::distance). |
<limits> | Numeric limits for data types (std::numeric_limits). |
<list> | Doubly-linked list class (std::list). |
<locale> | Localization utilities (std::locale, std::codecvt). |
<map> | Sorted associative containers (std::map, std::multimap). |
<memory> | Smart pointers and memory management utilities (std::shared_ptr, std::unique_ptr, std::weak_ptr). |
<mutex> | Mutexes and locks for thread synchronization (std::mutex, std::unique_lock). |
<new> | Functions and classes for dynamic memory allocation (std::bad_alloc, std::nothrow). |
<queue> | Queue class (std::queue, std::priority_queue). |
<set> | Sorted associative containers with unique keys (std::set, std::multiset). |
<sstream> | String stream classes for in-memory string stream operations (std::istringstream, std::ostringstream, std::stringstream). |
<stack> | Stack class (std::stack). |
<stdexcept> | Standard exception objects (std::logic_error, std::runtime_error, std::out_of_range). |
<string> | String class and related functions (std::string). |
<thread> | Support for multithreading (std::thread, std::mutex, std::lock_guard). |
<typeinfo> | Runtime type information utilities (std::type_info, typeid). |
<unordered_map> | Unordered associative containers (std::unordered_map, std::unordered_multimap). |
<unordered_set> | Unordered associative containers with unique keys (std::unordered_set, std::unordered_multiset). |
<utility> | Utility components such as std::pair, std::move, and std::swap. |
<vector> | Dynamic array class (std::vector). |
Header File topics