string 如何没有 tstring
string 怎么没有 tstring?
我明明记得我看到过的,就是UNICODE和ANSI自适应的 string 版本,在VC下。。。
怎么找不到 tstring头文件呢
------解决方案--------------------
自己定义一个,string/wstring
------解决方案--------------------
string是ansi
uniconde是wstring
只有这两种字体
不存在tstring
------解决方案--------------------
自己写个
#ifdef _UNICODE
typdef wstring mystring;
#else
typedef string mystring;
我明明记得我看到过的,就是UNICODE和ANSI自适应的 string 版本,在VC下。。。
怎么找不到 tstring头文件呢
------解决方案--------------------
自己定义一个,string/wstring
------解决方案--------------------
string是ansi
uniconde是wstring
只有这两种字体
不存在tstring
------解决方案--------------------
自己写个
#ifdef _UNICODE
typdef wstring mystring;
#else
typedef string mystring;