標準函式庫標頭檔 <clocale>
出自 cppreference.com
此標頭檔原為 C 標準函式庫中的 <locale.h>。
此標頭檔屬於 文字處理 程式庫。
型別 | ||
| 格式化細節,由 std::localeconv 傳回 (類別) | ||
常數 | ||
| 實作定義的空指標常數 (巨集常數) | ||
| 用於 std::setlocale 的地區設定類別 (locale categories) (巨集常數) | ||
函式 | ||
| 取得並設定當前的 C 本地化環境 (函式) | ||
| 查詢當前本地化環境的數值與貨幣格式化細節 (函式) | ||
[編輯] 概要
namespace std { struct lconv; char* setlocale(int category, const char* locale); lconv* localeconv(); } #define NULL /* see description */ #define LC_ALL /* see description */ #define LC_COLLATE /* see description */ #define LC_CTYPE /* see description */ #define LC_MONETARY /* see description */ #define LC_NUMERIC /* see description */ #define LC_TIME /* see description */