std::cauchy_distribution

Defined in header <random> template< class RealType = double > class cauchy_distribution; (since C++11) Produces random numbers according to a Cauchy distribution (also called Lorentz distribution): f(x; a,b) = ⎛⎜⎝bπ ⎡⎢⎣1 + ⎛⎜⎝ x - ab ⎞⎟⎠2⎤⎥⎦⎞⎟⎠-1 std::cauchy_distribution satisfies all requirements of RandomNumberDistribution. Template parameters RealType - The result type generated by the generator. The effect is undefined if this is not one of float, d

std::atan

Defined in header <cmath> float atan( float arg ); (1) double atan( double arg ); (2) long double atan( long double arg ); (3) double atan( Integral arg ); (4) (since C++11) Computes the principal value of the arc tangent of arg. 4) A set of overloads or a function template accepting an argument of any integral type. Equivalent to 2) (the argument is cast to double). Parameters arg - value of a floating-point or Integral type

std::wcstoimax

Defined in header <cinttypes> std::intmax_t wcstoimax( const wchar_t* nptr, wchar_t** endptr, int base ); (since C++11) std::uintmax_t wcstoumax( const wchar_t* nptr, wchar_t** endptr, int base ); (since C++11) Interprets an unsigned integer value in a wide string pointed to by nptr. Discards any whitespace characters (as identified by calling isspace()) until the first non-whitespace character is found, then takes as many characters as possible to form a valid base-n

std::wstring_convert::state

Defined in header <locale> state_type state() const; Returns the current value of the conversion state, which is stored in this wstring_convert object. The conversion state may be explicitly set in the constructor and is updated by all conversion operations. Return value The current conversion state. Example See also to_bytes converts a wide string into a byte string (public member function) from_bytes converts a byte string into a wide string (public memb

std::ratio_less_equal

Defined in header <ratio> template< class R1, class R2 > struct ratio_less_equal : std::integral_constant; If the ratio R1 is less than or equal to the ratio R2, provides the member constant value equal true. Otherwise, value is false. Helper variable template template< class R1, class R2 > constexpr bool ratio_less_equal_v = ratio_less_equal<R1, R2>::value; (since C++17) Inherited from std::integral_constant Member constants value [st

Main function

A program shall contain a global function named main, which is the designated start of the program. int main () { body } (1) int main (int argc, char *argv[]) { body } (2) int main (int argc, char *argv[] , other_parameters ) { body } (3) argc - Non-negative value representing the number of arguments passed to the program from the environment in which the program is run. argv - Pointer to the first element of an array of pointers to null-terminated multibyte st

va_arg

Defined in header <cstdarg> T va_arg( va_list ap, T ); The va_arg macro expands to an expression of type T that corresponds to the next parameter from the va_list ap. Prior to calling va_arg, ap must be initialized by a call to either va_start or va_copy, with no intervening call to va_end. Each invocation of the va_arg macro modifies ap to point to the next variable argument. If va_arg is called when there are no more arguments in ap, or if the type of the next argument in

std::fseek

Defined in header <cstdio> int fseek( std::FILE* stream, long offset, int origin ); Sets the file position indicator for the file stream stream. If the stream is open in binary mode, the new position is exactly offset bytes measured from the beginning of the file if origin is SEEK_SET, from the current file position if origin is SEEK_CUR, and from the end of the file if origin is SEEK_END. Binary streams are not required to support SEEK_END, in particular if additional null

Language linkage

Provides for linkage between modules written in different programming languages. extern string-literal { declaration-seq(optional) } (1) extern string-literal declaration (2) 1) Applies the language specification string-literal to all function types, function names with external linkage and variables with external linkage declared in declaration-seq 2) Applies the language specification string-literal to a single declaration or definition. string-literal - The name of the

std::unordered_multimap::max_load_factor

float max_load_factor() const; (1) (since C++11) void max_load_factor( float ml ); (2) (since C++11) Manages the maximum load factor (number of elements per bucket). The container automatically increases the number of buckets if the load factor exceeds this threshold. 1) Returns current maximum load factor. 2) Sets the maximum load factor to ml. Parameters ml - new maximum load factor setting Return value 1) current maximum load factor. 2) none. Complexity Constan