A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://en.wikibooks.org/wiki/C++_Programming/Code/Standard_C_Library/Functions/setlocale below:

C++ Programming/Code/Standard C Library/Functions/setlocale - Wikibooks, open books for an open world

From Wikibooks, open books for an open world

Syntax
#include <clocale>
char *setlocale( int category, const char * locale );

The setlocale() function is used to set and retrieve the current locale. If locale is NULL, the current locale is returned. Otherwise, locale is used to set the locale for the given category.

category can have the following values:

Value Description LC_ALL All of the locale LC_TIME Date and time formatting LC_NUMERIC Number formatting LC_COLLATE String collation and regular expression matching LC_CTYPE Regular expression matching, conversion, case-sensitive comparison, wide character functions, and character classification. LC_MONETARY For monetary formatting LC_MESSAGES For natural language messages
Related topics
(Standard C String & Character) strcoll

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