Category: Functions at a Glance

Functions at a Glance

Memory Block Handling

Memory Block Handling

The functions listed in Folowing Table initialize, copy, search, and compare blocks of memory. The functions declared in the header string.h access a memory block byte by byte, while those declared in wchar.h read...

Converting Between Numbers and Strings

Converting Between Numbers and Strings

The standard library provides a variety of functions to interpret a numeral string and return a numeric value. These functions are listed in Following Table. The numeral conversion functions differ both in their target...

Multibyte Characters

Multibyte Characters

In multibyte character sets, each character is coded as a sequence of one or more bytes. Unlike wide characters, each of which is represented by a single object of the type wchar_t, individual multibyte...

Character Classification and Conversion

Character Classification and Conversion

Character classification functions Category Functions in ctype.h Functions in wctype.h Letters isalpha( ) iswalpha( ) Lowercase letters islower( ) iswlower( ) Uppercase letters isupper( ) iswupper( ) Decimal digits isdigit( ) iswdigit( ) Hexadecimal...

Mathematical Functions

Mathematical Functions

The standard library provides many mathematical functions. Most of them operate on real or complex floating-point numbers. However, there are also several functions with integer types, such as the functions to generate random numbers....

Input and Output

Input and Output

We have dealt with this topic in detail already, which contains sections on I/O streams, sequential file access , formatted I/O, and error handling. A tabular list of the I/O functions will therefore suffice...