摘要: 使用字符串结构 传统C语言总定义和使用字符串: ansi和unicode ansi unicode char *str={"my first string"}; //ansi字符串定义 wchar_t *wstr={L"my first string"}; //unicode字符串定义 //求长度 size_t len = strlen(str); //ansi size_t wlen =... 阅读全文
posted @ 2010-11-22 12:01 jiftle 阅读(627) 评论(0) 推荐(0) 编辑