C Standard Libraries C++

<cstdlib>

Overview

Macros


RAND_MAX


Definition

#define RAND_MAX 32767

Description

This is a constant that defines the maximum value generated by the rand() function.



MB_CUR_MAX


Definition

#define MB_CUR_MAX 1*

* Note: For the U.S. locale this value is 1, but the definition is actually a function which depends on the locale setting.


Description

This defines the maximum length, in bytes, of a multibyte character in the current locale.


Types


div_t


Definition

typedef struct _div_t {
        int quot;
        int rem;
} div_t;

Description

This type is used as the result of a integer division for int data types.



ldiv_t


Definition

typedef struct _ldiv_t {
        long quot;
        long rem;
} ldiv_t;

Description

This type is used as the result of a integer division for long data types.


 

© 2007–2022 XoaX.net LLC. All rights reserved.