|
|
One of the possible outputs when the previous code is run is:
Locale is: C Date is: 01/15/07 13:33:47 Currency symbol is: - Locale is: English_United States.1252 Date is: 1/15/07 1:33:47 PM Currency symbol is: $ - |
http://www.cplusplus.com/reference/clocale/setlocale/
C语言的setlocale和localtime函数(C++也可用)
原文:http://www.cnblogs.com/findumars/p/6403523.html