You can also use %zd (NSInteger) and %tu (NSUInteger) when logging to the console. NSInteger integer = ; NSLog(@"first number: %zd", integer); NSUInteger uinteger = ; NSLog(@"second number: %tu", uinteger…
相互转换的两个函数的声明: 1. 多字节字符串与宽字符串的转换 int MultiByteToWideChar( UINT CodePage, // code page,一般设为 CP_ACP DWORD dwFlags, // character-type options,一般为设0 LPCSTR lpMultiByteStr, // string to map,指向一个多字节字符串 int cbMultiByte, // number of bytes in string,多字节字符串的长度…