#define LC_ALL /* implementation defined */
#define LC_COLLATE /* implementation defined */
#define LC_CTYPE /* implementation defined */
#define LC_MONETARY /* implementation defined */
#define LC_NUMERIC /* implementation defined */
#define LC_TIME /* implementation defined */
Each of the above macro constants expand to integer constant expressions with distinct values that are suitable for use as the first argument of std::setlocale.
Constant ExplanationLC_ALL
selects the entire C locale LC_COLLATE
selects the collation category of the C locale LC_CTYPE
selects the character classification category of the C locale LC_MONETARY
selects the monetary formatting category of the C locale LC_NUMERIC
selects the numeric formatting category of the C locale LC_TIME
selects the time formatting category of the C locale
Additional macro constants, with names that begin with LC_
followed by at least one uppercase letter, may be defined in <clocale>. For example, the POSIX specification requires LC_MESSAGES
(which controls std::perror and std::strerror), ISO/IEC 30112:2014 (2014 draft) additionally defines LC_IDENTIFICATION
, LC_XLITERATE
, LC_NAME
, LC_ADDRESS
, LC_TELEPHONE
, LC_PAPER
, LC_MEASUREMENT
, and LC_KEYBOARD
, which are supported by the GNU C library (except for LC_XLITERATE
).
Output:
Number: 3,14 Date: æ¥ææ¥ 2022å¹´11æ06æ¥ 17æ55å10ç§[edit] See also
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4