若單純使用 gcc 編譯,不加上任何引數的話,答案是看你的原始碼編碼是什麼,如果使用Big5 ... char text[] = u8"林"; printf("字串長度%d", strlen(text)); // 顯示3.
確定! 回上一頁