I am using Dev-cpp - 7.3.1.3 On Windows XP. I want to use curl in my project built using devcpp. So I created a static library (project) in devcpp for the same. I have include all the necessary curl files in it. Then i created a console project, But i have no idea as to how to link to my static library. While running the following code. This list of functions is incomplete, but will be updated when possible to eventually fill the list to all library functions. A note about C vs. C Note that header files from the C standard library should have the form headername.h when used in a C program, and the form cheadername when used in C programs (note the c as a prefix). Aug 03, 2019 A curated list of awesome C (or C) frameworks, libraries, resources, and shiny things. Inspired by awesome. fffaraz/awesome-cpp. Framework - Modern C14 library for the development of real-time graphical applications. MIT Cairo - A 2D graphics library with support for multiple output devices. LGPL2 or Mozilla MPL. In 1998, C98 was released, standardizing the language, and a minor update was released in 2003.After C98, C evolved relatively slowly until, in 2011, the C11 standard was released, adding numerous new features, enlarging the standard library further, and providing more facilities to C programmers. After a minor C14 update released in December 2014, various new additions were. The C standard library provides a large number of library functions (under different header files) for performing common tasks. As other answers already stated, there isn't a linked list library in the standard library. I've written one for my own use a while ago. You can freely use it or use the code as reference. You can find it here: libllist.
Uic Library
Language | ||||
Standard Library Headers | ||||
Freestanding and hosted implementations | ||||
Named requirements | ||||
Language support library | ||||
Concepts library(C++20) | ||||
Diagnostics library | ||||
Utilities library | ||||
Strings library | ||||
Containers library | ||||
Iterators library | ||||
Ranges library(C++20) | ||||
Algorithms library | ||||
Numerics library | ||||
Input/output library | ||||
Localizations library | ||||
Regular expressions library(C++11) | ||||
Atomic operations library(C++11) | ||||
Thread support library(C++11) | ||||
Filesystem library(C++17) | ||||
Technical Specifications |
Language Support | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||
Concepts | |||||||||||||||||||||||||||||||||||||||||||||||||||
<concepts> | |||||||||||||||||||||||||||||||||||||||||||||||||||
Diagnostics | |||||||||||||||||||||||||||||||||||||||||||||||||||
General utilities | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||
Strings | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||
Localization | |||||||||||||||||||||||||||||||||||||||||||||||||||
Containers | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||
Iterators | |||||||||||||||||||||||||||||||||||||||||||||||||||
<iterator> | |||||||||||||||||||||||||||||||||||||||||||||||||||
Ranges | |||||||||||||||||||||||||||||||||||||||||||||||||||
<ranges> | |||||||||||||||||||||||||||||||||||||||||||||||||||
Algorithms | |||||||||||||||||||||||||||||||||||||||||||||||||||
Numerics | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||
Input/Output | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||
Regular expressions | |||||||||||||||||||||||||||||||||||||||||||||||||||
<regex> | |||||||||||||||||||||||||||||||||||||||||||||||||||
Filesystem support | |||||||||||||||||||||||||||||||||||||||||||||||||||
<filesystem> | |||||||||||||||||||||||||||||||||||||||||||||||||||
Thread support | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||
C compatibility | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
The interface of C++ standard library is defined by the following collection of headers.
Concepts library | ||
<concepts> (since C++20) | Fundamental library concepts | |
Coroutines library | ||
<coroutine> (since C++20) | Coroutine support library | |
Utilities library | ||
<cstdlib> | General purpose utilities: program control, dynamic memory allocation, random numbers, sort and search | |
<csignal> | Functions and macro constants for signal management | |
<csetjmp> | Macro (and function) that saves (and jumps) to an execution context | |
<cstdarg> | Handling of variable length argument lists | |
<typeinfo> | Runtime type information utilities | |
<typeindex> (since C++11) | std::type_index | |
<type_traits> (since C++11) | Compile-time type information | |
<bitset> | std::bitset class template | |
<functional> | Function objects, Function invocations, Bind operations and Reference wrappers | |
<utility> | Various utility components | |
<ctime> | C-style time/date utilites | |
<chrono> (since C++11) | C++ time utilites | |
<cstddef> | standard macros and typedefs | |
<initializer_list> (since C++11) | std::initializer_list class template | |
<tuple> (since C++11) | std::tuple class template | |
<any> (since C++17) | std::any class | |
<optional> (since C++17) | std::optional class template | |
<variant> (since C++17) | std::variant class template | |
<compare> (since C++20) | Three-way comparison operator support | |
<version> (since C++20) | supplies implementation-dependent library information | |
<source_location> (since C++20) | supplies means to obtain source code location | |
Dynamic memory management | ||
<new> | Low-level memory management utilities | |
<memory> | Higher level memory management utilities | |
<scoped_allocator> (since C++11) | Nested allocator class | |
<memory_resource> (since C++17) | Polymorphic allocators and memory resources | |
Numeric limits | ||
<climits> | limits of integral types | |
<cfloat> | limits of float types | |
<cstdint> (since C++11) | fixed-size types and limits of other types | |
<cinttypes> (since C++11) | formatting macros , intmax_t and uintmax_t math and conversions | |
<limits> | standardized way to query properties of arithmetic types | |
Error handling | ||
<exception> | Exception handling utilities | |
<stdexcept> | Standard exception objects | |
<cassert> | Conditionally compiled macro that compares its argument to zero | |
<system_error> (since C++11) | defines std::error_code , a platform-dependent error code | |
<cerrno> | Macro containing the last error number | |
Strings library | ||
<cctype> | Functions to determine the type contained in character data | |
<cwctype> | Functions to determine the type contained in wide character data | |
<cstring> | various narrow character string handling functions | |
<cwchar> | various wide and multibyte string handling functions | |
<cuchar> (since C++11) | C-style Unicode character conversion functions | |
<string> | std::basic_string class template | |
<string_view> (since C++17) | std::basic_string_view class template | |
<charconv> (since C++17) | std::to_chars and std::from_chars | |
<format> (since C++20) | Formatting library including std::format | |
Containers library | ||
<array> (since C++11) | std::array container | |
<vector> | std::vector container | |
<deque> | std::deque container | |
<list> | std::list container | |
<forward_list> (since C++11) | std::forward_list container | |
<set> | std::set and std::multiset associative containers | |
<map> | std::map and std::multimap associative containers | |
<unordered_set> (since C++11) | std::unordered_set and std::unordered_multiset unordered associative containers | |
<unordered_map> (since C++11) | std::unordered_map and std::unordered_multimap unordered associative containers | |
<stack> | std::stack container adaptor | |
<queue> | std::queue and std::priority_queue container adaptors | |
<span> (since C++20) | std::span view | |
Iterators library | ||
<iterator> | Range iterators | |
Ranges library | ||
<ranges> (since C++20) | Range access, primitives, requirements, utilities and adaptors | |
Algorithms library | ||
<algorithm> | Algorithms that operate on ranges | |
<execution> (since C++17) | Predefined execution policies for parallel versions of the algorithms | |
Numerics library | ||
<cmath> | Common mathematics functions | |
<complex> | Complex number type | |
<valarray> | Class for representing and manipulating arrays of values | |
<random> (since C++11) | Random number generators and distributions | |
<numeric> | Numeric operations on values in containers | |
<ratio> (since C++11) | Compile-time rational arithmetic | |
<cfenv> (since C++11) | Floating-point environment access functions | |
<bit> (since C++20) | Bit manipulation functions | |
<numbers> (since C++20) | Math constants | |
Input/output library | ||
<iosfwd> | forward declarations of all classes in the input/output library | |
<ios> | std::ios_base class, std::basic_ios class template and several typedefs | |
<istream> | std::basic_istream class template and several typedefs | |
<ostream> | std::basic_ostream, std::basic_iostream class templates and several typedefs | |
<iostream> | several standard stream objects | |
<fstream> | std::basic_fstream, std::basic_ifstream, std::basic_ofstream class templates and several typedefs | |
<sstream> | std::basic_stringstream, std::basic_istringstream, std::basic_ostringstream class templates and several typedefs | |
<syncstream> (since C++20) | std::basic_osyncstream, std::basic_syncbuf, and typedefs | |
<strstream> (deprecated in C++98) | std::strstream, std::istrstream, std::ostrstream | |
<iomanip> | Helper functions to control the format of input and output | |
<streambuf> | std::basic_streambuf class template | |
<cstdio> | C-style input-output functions | |
Localization library | ||
<locale> | Localization utilities | |
<clocale> | C localization utilities | |
<codecvt> (since C++11)(deprecated in C++17) | Unicode conversion facilities | |
Regular Expressions library | ||
<regex> (since C++11) | Classes, algorithms and iterators to support regular expression processing | |
Atomic Operations library | ||
<atomic> (since C++11) | Atomic operations library | |
Thread support library | ||
<thread> (since C++11) | std::thread class and supporting functions | |
<stop_token> (since C++20) | Stop tokens for std::jthread | |
<mutex> (since C++11) | mutual exclusion primitives | |
<shared_mutex> (since C++14) | shared mutual exclusion primitives | |
<future> (since C++11) | primitives for asynchronous computations | |
<condition_variable> (since C++11) | thread waiting conditions | |
<semaphore> (since C++20) | semaphores | |
<latch> (since C++20) | latches | |
<barrier> (since C++20) | barriers | |
Filesystem library | ||
<filesystem> (since C++17) | std::path class and supporting functions |
[edit]C compatibility headers
For some of the C standard library headers of the form xxx.h, the C++ standard library both includes an identically-named header and another header of the form cxxx (all meaningful cxxx headers are listed above).
With the exception of complex.h , each xxx.h header included in the C++ standard library places in the global namespace each name that the corresponding cxxx header would have placed in the std namespace.
These headers are allowed to also declare the same names in the std namespace, and the corresponding cxxx headers are allowed to also declare the same names in the global namespace: including <cstdlib> definitely provides std::malloc and may also provide ::malloc. Including <stdlib.h> definitely provides ::malloc and may also provide std::malloc. This applies even to functions and function overloads that are not part of C standard library.
<assert.h> (deprecated) | behaves as if each name from <cassert> is placed in global namespace |
<ctype.h> (deprecated) | behaves as if each name from <cctype> is placed in global namespace |
<errno.h> (deprecated) | behaves as if each name from <cerrno> is placed in global namespace |
<fenv.h> (deprecated) | behaves as if each name from <cfenv> is placed in global namespace |
<float.h> (deprecated) | behaves as if each name from <cfloat> is placed in global namespace |
<inttypes.h> (deprecated) | behaves as if each name from <cinttypes> is placed in global namespace |
<limits.h> (deprecated) | behaves as if each name from <climits> is placed in global namespace |
<locale.h> (deprecated) | behaves as if each name from <clocale> is placed in global namespace |
<math.h> (deprecated) | behaves as if each name from <cmath> is placed in global namespace except for names of mathematical special functions |
<setjmp.h> (deprecated) | behaves as if each name from <csetjmp> is placed in global namespace |
<signal.h> (deprecated) | behaves as if each name from <csignal> is placed in global namespace |
<stdarg.h> (deprecated) | behaves as if each name from <cstdarg> is placed in global namespace |
<stddef.h> (deprecated) | behaves as if each name from <cstddef> is placed in global namespace except for names of std::byte and related functions |
<stdint.h> (deprecated) | behaves as if each name from <cstdint> is placed in global namespace |
<stdio.h> (deprecated) | behaves as if each name from <cstdio> is placed in global namespace |
<stdlib.h> (deprecated) | behaves as if each name from <cstdlib> is placed in global namespace |
<string.h> (deprecated) | behaves as if each name from <cstring> is placed in global namespace |
<time.h> (deprecated) | behaves as if each name from <ctime> is placed in global namespace |
<uchar.h> (deprecated) | behaves as if each name from <cuchar> is placed in global namespace |
<wchar.h> (deprecated) | behaves as if each name from <cwchar> is placed in global namespace |
<wctype.h> (deprecated) | behaves as if each name from <cwctype> is placed in global namespace |
[edit]Empty C headers
The headers <complex.h>
, <ccomplex>
, <tgmath.h>
, and <ctgmath>
do not contain any content from the C standard library and instead merely include other headers from the C++ standard library. The use of all these headers is deprecated in C++.
C++ Library Pdf
<ccomplex> (since C++11)(deprecated in C++17)(removed in C++20) | simply includes the header <complex> |
<complex.h> (deprecated) | simply includes the header <complex> |
<ctgmath> (since C++11)(deprecated in C++17)(removed in C++20) | simply includes the headers <complex> and <cmath>: the overloads equivalent to the contents of the C header tgmath.h are already provided by those headers |
<tgmath.h> (deprecated) | simply includes the headers <complex> and <cmath> |
[edit]Meaningless C headers
The headers <ciso646>
, <cstdalign>
, and <cstdbool>
are meaningless in C++ because the macros they provide in C are language keywords in C++.
<ciso646> (removed in C++20) | empty header. The macros that appear in iso646.h in C are keywords in C++ |
<iso646.h> (deprecated) | has no effect |
<cstdalign> (since C++11)(deprecated in C++17)(removed in C++20) | defines one compatibility macro constant |
<stdalign.h> (deprecated) | defines one compatibility macro constant |
<cstdbool> (since C++11)(deprecated in C++17)(removed in C++20) | defines one compatibility macro constant |
<stdbool.h> (deprecated) | defines one compatibility macro constant |
[edit]Unsupported C headers
The C headers <stdatomic.h>
, <stdnoreturn.h>
, and <threads.h>
are not included in C++ and have no cxxx equivalents.
[edit]Experimental libraries
C++ TR's/TS's also define several collections of headers.
[edit]See also
C++ Linked List Library
All Standard C Library Functions [edit]
Functions | Descriptions |
---|---|
abort | stops the program |
abs | absolute value without minus |
acos | arc cosine |
asctime | a textual version of the time |
asin | arc sine |
assert | stops the program if an expression isn't true |
atan | arc tangent |
atan2 | arc tangent, using signs to determine quadrants |
atexit | sets a function to be called when the program exits |
atof | converts a string to a double |
atoi | converts a string to an integer |
atol | converts a string to a long |
bsearch | perform a binary search |
calloc | allocates and clears a two-dimensional chunk of memory |
ceil | the smallest integer not less than a certain value |
clearerr | clears errors |
clock | returns the amount of time that the program has been running |
cos | cosine |
cosh | hyperbolic cosine |
ctime | returns a specifically formatted version of the time |
difftime | the difference between two times |
div | returns the quotient and remainder of a division |
exit | stop the program |
exp | returns 'e' raised to a given power |
fabs | absolute value for floating-point numbers |
fclose | close a file |
feof | true if at the end-of-file |
ferror | checks for a file error |
fflush | writes the contents of the output buffer |
fgetc | get a character from a stream |
fgetpos | get the file position indicator |
fgets | get a string of characters from a stream |
floor | returns the largest integer not greater than a given value |
fmod | returns the remainder of a division |
fopen | open a file |
fprintf | print formatted output to a file |
fputc | write a character to a file |
fputs | write a string to a file |
fread | read from a file |
free | returns previously allocated memory to the operating system |
freopen | open an existing stream with a different name |
frexp | decomposes a number into scientific notation |
fscanf | read formatted input from a file |
fseek | move to a specific location in a file |
fsetpos | move to a specific location in a file |
ftell | returns the current file position indicator |
fwrite | write to a file |
getc | read a character from a file |
getchar | read a character from STDIN |
getenv | get environment information about a variable |
gets | read a string from STDIN |
gmtime | returns a pointer to the current Greenwich Mean Time |
isalnum | true if a character is alphanumeric |
isalpha | true if a character is alphabetic |
iscntrl | true if a character is a control character |
isdigit | true if a character is a digit |
isgraph | true if a character is a graphical character |
islower | true if a character is lowercase |
isprint | true if a character is a printing character |
ispunct | true if a character is punctuation |
isspace | true if a character is a space character |
isupper | true if a character is an uppercase character |
itoa | Convert a integer to a string |
isxdigit | true if a character is a hexadecimal character |
labs | absolute value for long integers |
ldexp | computes a number in scientific notation |
ldiv | returns the quotient and remainder of a division, in long integer form |
localtime | returns a pointer to the current time |
log | natural logarithm |
log10 | natural logarithm, in base 10 |
longjmp | start execution at a certain point in the program |
malloc | allocates memory |
memchr | searches an array for the first occurrence of a character |
memcmp | compares two buffers |
memcpy | copies one buffer to another |
memmove | moves one buffer to another |
memset | fills a buffer with a character |
mktime | returns the calendar version of a given time |
modf | decomposes a number into integer and fractional parts |
perror | displays a string version of the current error to STDERR |
pow | returns a given number raised to another number |
printf | write formatted output to STDOUT |
putc | write a character to a stream |
putchar | write a character to STDOUT |
puts | write a string to STDOUT |
qsort | perform a quicksort. |
raise | send a signal to the program |
rand | returns a pseudo-random number |
realloc | changes the size of previously allocated memory |
remove | erase a file |
rename | rename a file |
rewind | move the file position indicator to the beginning of a file |
scanf | read formatted input from STDIN |
setbuf | set the buffer for a specific stream |
setjmp | set execution to start at a certain point |
setlocale | sets the current locale |
setvbuf | set the buffer and size for a specific stream |
signal | register a function as a signal handler |
sin | sine |
sinh | hyperbolic sine |
sprintf | write formatted output to a buffer |
sqrt | square root |
srand | initialize the random number generator |
sscanf | read formatted input from a buffer |
strcat | concatenates two strings |
strchr | finds the first occurrence of a character in a string |
strcmp | compares two strings |
strcoll | compares two strings in accordance to the current locale |
strcpy | copies one string to another |
strcspn | searches one string for any characters in another |
strerror | returns a text version of a given error code |
strftime | returns individual elements of the date and time |
strlen | returns the length of a given string |
strncat | concatenates a certain amount of characters of two strings |
strncmp | compares a certain amount of characters of two strings |
strncpy | copies a certain amount of characters from one string to another |
strpbrk | finds the first location of any character in one string, in another string |
strrchr | finds the last occurrence of a character in a string |
strspn | returns the length of a substring of characters of a string |
strstr | finds the first occurrence of a substring of characters |
strtod | converts a string to a double |
strtok | finds the next token in a string |
strtol | converts a string to a long |
strtoul | converts a string to an unsigned long |
strxfrm | converts a substring so that it can be used by string comparison functions |
system | perform a system call |
tan | tangent |
tanh | hyperbolic tangent |
time | returns the current calendar time of the system |
tmpfile | return a pointer to a temporary file |
tmpnam | return a unique filename |
tolower | converts a character to lowercase |
toupper | converts a character to uppercase |
ungetc | puts a character back into a stream |
va_arg | use variable length parameter lists |
vprintf, vfprintf, and vsprintf | write formatted output with variable argument lists |
vscanf, vfscanf, and vsscanf | read formatted input with variable argument lists |
These routines included on the Standard C Library can be sub divided into: