Export (0) Print
Expand All

<wchar.h> [Added with Amendment 1]

Visual Studio 6.0
<wchar.h>

Most of the functions, types, and constants listed below are documented in the Run-Time Library Reference, a section of the Visual C++ Programmer's Guide. Those that are not documented there are relatively new to wchar.h and are documented in the topics following this one.

#define <either 0, 0L, or (void *)0> [0 in C++]
#define
WCHAR_MAX <#if expression >= 127>
#define
WCHAR_MIN <#if expression <= 0>
#define
<wint_t constant expression>
wint_t
btowc(int c);
wint_t
(FILE *stream);
wchar_t *
(wchar_t *s, int n, FILE *stream);
wint_t
(wchar_t c, FILE *stream);
int
(const wchar_t *s, FILE *stream);
int
fwide(FILE *stream, int mode);
int
(FILE *stream, const wchar_t *format, ...);
int
(FILE *stream, const wchar_t *format, ...);
wint_t
(FILE *stream);
wint_t
(void);
size_t
mbrlen(const char *s, size_t n, mbstate_t *ps);
size_t
mbrtowc(wchar_t *pwc, const char *s, size_t n, mbstate_t *ps);
int
mbsinit(const mbstate_t *ps);
size_t
mbsrtowcs(wchar_t *dst, const char **src, size_t len, mbstate_t *ps);
typedef
o-type mbstate_t;
wint_t
(wchar_t c, FILE *stream);
wint_t
(wchar_t c);
typedef
ui-type ;
int
(wchar_t *s, size_t n, const wchar_t *format, ...);
int
(const wchar_t *s, const wchar_t *format, ...);
struct
;
wint_t
(wint_t c, FILE *stream);
int
(FILE *stream, const wchar_t *format, va_list arg);
int
(wchar_t *s, size_t n, const wchar_t *format, va_list arg);
int
(const wchar_t *format, va_list arg);
typedef
i-type ; [keyword in C++]
size_t
wcrtomb(char *s, wchar_t wc, mbstate_t *ps);
wchar_t *
(wchar_t *s1, const wchar_t *s2);
wchar_t *
(const wchar_t *s, wchar_t c);
int
(const wchar_t *s1, const wchar_t *s2);
int
(const wchar_t *s1, const wchar_t *s2);
wchar_t *
(wchar_t *s1, const wchar_t *s2);
size_t
(const wchar_t *s1, const wchar_t *s2);
size_t
(wchar_t *s, size_t maxsize, const wchar_t *format, const struct tm *timeptr);
size_t
(const wchar_t *s);
wchar_t *
(wchar_t *s1, const wchar_t *s2, size_t n);
int
(const wchar_t *s1, const wchar_t *s2, size_t n);
wchar_t *
(wchar_t *s1, const wchar_t *s2, size_t n);
wchar_t *
(const wchar_t *s1, const wchar_t *s2);
wchar_t *
(const wchar_t *s, wchar_t c);
size_t
wcsrtombs(char *dst, const wchar_t **src, size_t len, mbstate_t *ps);
size_t
(const wchar_t *s1, const wchar_t *s2);
wchar_t *
(const wchar_t *s1, const wchar_t *s2);
double
(const wchar_t *nptr, wchar_t **endptr);
wchar_t *
(wchar_t *s1, const wchar_t *s2, wchar_t **ptr);
long
(const wchar_t *nptr, wchar_t **endptr, int base);
unsigned long
(const wchar_t *nptr, wchar_t **endptr, int base);
size_t
(wchar_t *s1, const wchar_t *s2, size_t n);
int
wctob(wint_t c);
typedef
i_type ;
wchar_t *
wmemchr(const wchar_t *s, wchar_t c, size_t n); [not in C++]
const wchar_t *
wmemchr(const wchar_t *s, wchar_t c, size_t n); [C++ only]
wchar_t *
wmemchr(wchar_t *s, wchar_t c, size_t n); [C++ only]
int
wmemcmp(const wchar_t *s1, const wchar_t *s2, size_t n);
wchar_t *
wmemcpy(wchar_t *s1, const wchar_t *s2, size_t n);
wchar_t *
wmemmove(wchar_t *s1, const wchar_t *s2, size_t n);
wchar_t *
wmemset(wchar_t *s, wchar_t c, size_t n);
int
(const wchar_t *format, ...);
int
(const wchar_t *format, ...);

Include the standard header <wchar.h> so that you can perform input and output operations on wide streams or manipulate wide strings.

Show:
© 2014 Microsoft