CARVIEW |
Select Language
HTTP/1.1 301 Moved Permanently
Server: nginx
Date: Wed, 23 Jul 2025 20:47:45 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
Location: /reference/cwchar/
HTTP/1.1 200 OK
Server: nginx
Date: Wed, 23 Jul 2025 20:47:45 GMT
Content-Type: text/html; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
ETag: W/"b03d-YpTbX//xbHpPEoo8dgS2M97QklY"
Content-Encoding: gzip
This header file defines several functions to work with C wide strings.
General utilities: (wide versions of <cstdlib> functions)
Character/string conversion: (mostly extended versions of <cstdlib> functions)
Strings: (wide versions of <cstring> functions)
Time: (a wide version of a <ctime> function)
Reference
C library:
- <cassert> (assert.h)
- <cctype> (ctype.h)
- <cerrno> (errno.h)
-
<cfenv> (fenv.h)C++11
- <cfloat> (float.h)
-
<cinttypes> (inttypes.h)C++11
- <ciso646> (iso646.h)
- <climits> (limits.h)
- <clocale> (locale.h)
- <cmath> (math.h)
- <csetjmp> (setjmp.h)
- <csignal> (signal.h)
- <cstdarg> (stdarg.h)
-
<cstdbool> (stdbool.h)C++11
- <cstddef> (stddef.h)
-
<cstdint> (stdint.h)C++11
- <cstdio> (stdio.h)
- <cstdlib> (stdlib.h)
- <cstring> (string.h)
-
<ctgmath> (tgmath.h)C++11
- <ctime> (time.h)
-
<cuchar> (uchar.h)C++11
- <cwchar> (wchar.h)
- <cwctype> (wctype.h)
Containers:
-
<array>C++11
- <deque>
-
<forward_list>C++11
- <list>
- <map>
- <queue>
- <set>
- <stack>
-
<unordered_map>C++11
-
<unordered_set>C++11
- <vector>
-
Input/Output:
Multi-threading:
-
<atomic>C++11
-
<condition_variable>C++11
-
<future>C++11
-
<mutex>C++11
-
<thread>C++11
-
Other:
- <algorithm>
- <bitset>
-
<chrono>C++11
-
<codecvt>C++11
- <complex>
- <exception>
- <functional>
-
<initializer_list>C++11
- <iterator>
- <limits>
- <locale>
- <memory>
- <new>
- <numeric>
-
<random>C++11
-
<ratio>C++11
-
<regex>C++11
- <stdexcept>
- <string>
-
<system_error>C++11
-
<tuple>C++11
-
<type_traits>C++11
-
<typeindex>C++11
- <typeinfo>
- <utility>
- <valarray>
<cwchar> (wchar.h)
functions
- btowc
- fgetwc
- fgetws
- fputwc
- fputws
- fwide
- fwprintf
- fwscanf
- getwc
- getwchar
- mbrlen
- mbrtowc
- mbsinit
- mbsrtowcs
- putwc
- putwchar
- swprintf
- swscanf
- ungetwc
- vfwprintf
-
vfwscanfC++11
-
vswprintfC++11
-
vswscanfC++11
- vwprintf
-
vwscanfC++11
- wcrtomb
- wcscat
- wcschr
- wcscmp
- wcscoll
- wcscpy
- wcscspn
- wcsftime
- wcslen
- wcsncat
- wcsncmp
- wcsncpy
- wcspbrk
- wcsrchr
- wcsrtombs
- wcsspn
- wcsstr
- wcstod
-
wcstofC++11
- wcstok
- wcstol
-
wcstoldC++11
-
wcstollC++11
- wcstoul
-
wcstoullC++11
- wcsxfrm
- wctob
- wmemchr
- wmemcmp
- wmemcpy
- wmemmove
- wmemset
- wprintf
- wscanf
types
macro constants
- Reference
- <cwchar>
header
<cwchar> (wchar.h)
Wide characters
Functions
Input/Output: (mostly wide versions of <cstdio> functions)- fgetwc
- Get wide character from stream (function)
- fgetws
- Get wide string from stream (function)
- fputwc
- Write wide character to stream (function)
- fputws
- Write wide string to stream (function)
- fwide
- Stream orientation (function)
- fwprintf
- Write formatted data to stream (function)
- fwscanf
- Read formatted data from stream (function)
- getwc
- Get wide character from stream (function)
- getwchar
- Get wide character from stdin (function)
- putwc
- Write wide character to stream (function)
- putwchar
- Write wide character to stdout (function)
- swprintf
- Write formatted data to wide string (function)
- swscanf
- Read formatted data from string (function)
- ungetwc
- Unget wide character from stream (function)
- vfwprintf
- Write formatted data from variable argument list to stream (function)
- vfwscanf
- Read formatted data from stream into variable argument list (function)
- vswprintf
- Write formatted data from variable argument list to sized buffer (function)
- vswscanf
- Read formatted data from wide string into variable argument list (function)
- vwprintf
- Print formatted data from variable argument list to stdout (function)
- vwscanf
- Read formatted data into variable argument list (function)
- wprintf
- Print formatted data to stdout (function)
- wscanf
- Read formatted data from stdin (function)
General utilities: (wide versions of <cstdlib> functions)
- wcstod
- Convert wide string to double (function)
- wcstof
- Convert wide string to float (function)
- wcstol
- Convert wide string to long integer (function)
- wcstold
- Convert wide string to long double (function)
- wcstoll
- Convert wide string to long long integer (function)
- wcstoul
- Convert wide string to unsigned long integer (function)
- wcstoull
- Convert wide string to unsigned long long integer (function)
Character/string conversion: (mostly extended versions of <cstdlib> functions)
- btowc
- Convert single byte character to wide character (function)
- mbrlen
- Get length of multibyte character (function)
- mbrtowc
- Convert multibyte sequence to wide character (function)
- mbsinit
- Check if initial conversion state (function)
- mbsrtowcs
- Convert multibyte string to wide-character string (function)
- wcrtomb
- Convert wide character to multibyte sequence (function)
- wctob
- Convert wide character to single byte (function)
- wcsrtombs
- Convert wide-character string to multibyte string (function)
Strings: (wide versions of <cstring> functions)
- wcscat
- Concatenate wide strings (function)
- wcschr
- Locate first occurrence of character in wide string (function)
- wcscmp
- Compare two strings (function)
- wcscoll
- Compare two wide strings using locale (function)
- wcscpy
- Copy wide string (function)
- wcscspn
- Get span until character in wide string (function)
- wcslen
- Get wide string length (function)
- wcsncat
- Append characters from wide string (function)
- wcsncmp
- Compare characters of two wide strings (function)
- wcsncpy
- Copy characters from wide string (function)
- wcspbrk
- Locate characters in wide string (function)
- wcsrchr
- Locate last occurrence of character in wide string (function)
- wcsspn
- Get span of character set in wide string (function)
- wcsstr
- Locate substring of wide string (function)
- wcstok
- Split wide string into tokens (function)
- wcsxfrm
- Transform wide string using locale (function)
- wmemchr
- Locate character in block of wide characters (function)
- wmemcmp
- Compare two blocks of wide characters (function)
- wmemcpy
- Copy block of wide characters (function)
- wmemmove
- Move block of wide characters (function)
- wmemset
- Fill array of wide characters (function)
Time: (a wide version of a <ctime> function)
- wcsftime
- Format time as wide string (function)
Types
- mbstate_t
- Multibyte conversion state (type)
- size_t
- Unsigned integral type (type)
- struct tm
- Time structure (type)
- wchar_t
- Wide character (type)
- wint_t
- Wide int type (type)
Macro constants
- NULL
- Null pointer (macro)
- WCHAR_MAX
- Maximum value of wchar_t (constant)
- WCHAR_MIN
- Minimum value of wchar_t (constant)
- WEOF
- Wide end-of-file (constant)
Home page | Privacy policy
© cplusplus.com, 2000-2025 - All rights reserved - v3.3.4s
Spotted an error? contact us
© cplusplus.com, 2000-2025 - All rights reserved - v3.3.4s
Spotted an error? contact us