diff options
Diffstat (limited to '05/main.c')
-rw-r--r-- | 05/main.c | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -4,13 +4,12 @@ #include <stdlib.h> #include <stddef.h> #include <ctype.h> - -typedef struct { - int x; - long y; -} S; +#include <locale.h> int main(int argc, char **argv) { + setlocale(LC_ALL, "C"); + struct lconv *c = localeconv(); + printf("%s\n",c->negative_sign); return 0; } |