一些基础:VC编程经验和错误[2]

[入库:2005年8月19日] [更新:2007年3月24日]

本文简介:选择自 rainee 的 blog

 

3、部分设备自带文本编辑器无法识别中文字符,无论是ansi或者unicode格式;

 

4、读取和写入unicode文本时,需要使用"b"修饰符,如"rb"、"wb",不受fgets和fgetws的影响;

 

5、输出格式控制符说明:

    single-byte character with printf functions  h c or c

    single-byte character with wprintf functions h c or c

 

    wide character with printf functions l c or c

    wide character with wprintf functions l c or c

 

    single-byte – character string with printf functions h s or s

    single-byte – character string with wprintf functions h s or s

 

    wide-character string with printf functions l s or s

    wide-character string with wprintf functions l s or s

 

本文关键:一些基础:VC编程经验和错误
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top