반응형
unsigned char str[BUFF_SIZE];
// Set the thread local
printf("The thread locale is now set to %s.\n",
setlocale(LC_ALL, "German"));
// Retrieve the time string from the helper function
if (get_time(str) == 0)
{
printf("The time in German locale is: '%s'\n", str);
}
반응형
'Game Dev > Article' 카테고리의 다른 글
| Disable StickyKeys and Shortcuts (0) | 2008.07.22 |
|---|---|
| 특수 폴더 경로 알아내기 (0) | 2008.07.22 |
| 현재 Window 사용자 이름 얻기 (0) | 2008.07.22 |
| System Menu API (0) | 2008.07.22 |