相关代码 |
|
/* ch13-strings.c --- demonstrate strcmp() vs. strcoll() */ #include #include #include int main(void) { setlocale(LC_ALL, ""); printf("Result of strcmp(\"\\\"\", \"/\") is %d\n", strcmp("\"", "/")); printf("Result of strcoll(\"\\\"\", \"/\") is %d\n", strcoll("\"", "/")); exit(0); }
相关资源 |
|