sinh

Defined in header <math.h> float sinhf( float arg ); (1) (since C99) double sinh( double arg ); (2) long double sinhl( long double arg ); (3) (since C99) Defined in header <tgmath.h> #define sinh( arg ) (4) (since C99) 1-3) Computes hyperbolic sine of arg. 4) Type-generic macro: If the argument has type long double, sinhl is called. Otherwise, if the argument has integer type or the type double, sinh is called. Otherwise, sinhf is

Variadic arguments

Variadic functions are functions that may be called with different number of arguments. Only new-style (prototyped) function declarations may be variadic. This is indicated by the parameter of the form ... which must appear last in the parameter list and must follow at least one named parameter. //New-style declaration int printx(const char* fmt, ...); // function declared this way printx("hello world"); // may be called with one printx("a=%d b=%d", a, b); // or more arguments // int printy(.

ldexp

Defined in header <math.h> float ldexpf( float arg, int exp ); (1) (since C99) double ldexp( double arg, int exp ); (2) long double ldexpl( long double arg, int exp ); (3) (since C99) Defined in header <tgmath.h> #define ldexp( arg, exp ) (4) (since C99) 1-3) Multiplies a floating point value arg by the number 2 raised to the exp power. 4) Type-generic macro: If arg has type long double, ldexpl is called. Otherwise, if arg has int

iswcntrl

Defined in header <wctype.h> int iswcntrl( wint_t ch ); (since C95) Checks if the given wide character is a control character, i.e. codes 0x00-0x1F and 0x7F and any control characters specific to the current locale. Parameters ch - wide character Return value Non-zero value if the wide character is a control character, zero otherwise. Example #include <stdio.h> #include <wchar.h> #include <wctype.h> #include <locale.h> int main(v

iswupper

Defined in header <wctype.h> int iswupper( wint_t ch ); (since C95) Checks if the given wide character is an uppercase letter, i.e. one of ABCDEFGHIJKLMNOPQRSTUVWXYZ or any uppercase letter specific to the current locale. Parameters ch - wide character Return value Non-zero value if the wide character is an uppercase letter, zero otherwise. Example #include <stdio.h> #include <wchar.h> #include <wctype.h> #include <locale.h> int

Member access operators

Member access operators allow access to the members of their operands. Operator Operator name Example Description [] array subscript a[b] access the bth element of array a * pointer dereference *a dereference the pointer a to access the object or function it refers to & address of &a create a pointer that refers to the object or function a . member access a.b access member b of struct or union a -> member access through pointer a->b a

Assignment operators

Assignment and compound assignment operators are binary operators that modify the variable to their left using the value to their right. Operator Operator name Example Description Equivalent of = basic assignment a = b a becomes equal to b N/A += addition assignment a += b a becomes equal to the addition of a and b a = a + b -= subtraction assignment a -= b a becomes equal to the subtraction of b from a a = a - b *= multiplication assignment a *= b

_Bool

Usage boolean type: as the declaration of the type

atof

Defined in header <stdlib.h> double atof( const char* str ); Interprets an floating point value in a byte string pointed to by str. Function discards any whitespace characters (as determined by std::isspace()) until first non-whitespace character is found. Then it takes as many characters as possible to form a valid floating point representation and converts them to floating point value. The valid floating point value can be one of the following: decimal floating point expr

csqrtf

Defined in header <complex.h> float complex csqrtf( float complex z ); (1) (since C99) double complex csqrt( double complex z ); (2) (since C99) long double complex csqrtl( long double complex z ); (3) (since C99) Defined in header <tgmath.h> #define sqrt( z ) (4) (since C99) 1-3) Computes the complex square root of z with branch cut along the negative real axis. 4) Type-generic macro: If z has type long double complex, csqrtl is