跳轉到內容

C++ 程式設計/程式碼/標準 C 庫/函式/strcoll

來自華夏公益教科書,自由的教科書
語法
#include <cstring>
int strcoll( const char *str1, const char *str2 );

strcoll() 函式比較 str1 和 str2,類似於 strcmp()。但是,strcoll() 使用 setlocale() 函式指定的區域設定進行比較。

相關主題
strcmp - strxfrm
(標準 C 日期和時間) setlocale
華夏公益教科書