std::wcout.STL
来源:互联网 发布:linux ssh端口22修改 编辑:程序博客网 时间:2024/06/03 23:40
1.输出中文
xx.h
- #ifdef NOTANSI
- typedef std::wstring token_t;
- #define TOKEN L
- #define CONST_TEXT(x) L##x
- #define gcout std::wcout
- #else
- typedef std::string token_t;
- #define TOKEN
- #define CONST_TEXT(x) x
- #define gcout std::cout
- #endif
xx.cpp
- #ifdef NOTANSI
- std::locale gloc("Chinese-simplified");
- struct xcout{
- xcout(){gcout.imbue(gloc);}
- }aXCOUT;
- #endif
stdafx.h
- #define NOTANSI
- std::wcout.STL
- std stl
- wcout
- wcout
- wprintf以及std::wcout输出中文的问题
- std::map -------stl
- stl std::find使用
- STL STD::list使用说明
- STL std::list使用说明
- STL STD::list使用说明
- 重温STL, STD
- C++ STL std::pair
- STL STD::list使用说明
- STL STD::list使用说明
- C++ STL : std::string
- C++ STL : std::map
- C++ STL : std::vector
- C++ STL : std::list
- C#验证类(使用正则表达式)
- 用web.xml控制Web应用的行为
- 炒菜手册 (转)
- 文字竖排工具 By 崔鹏飞 没有混淆,可以用reflector看代码
- Java Socket编程简捷学习过程
- std::wcout.STL
- C语言之联合(union)
- JAVA里protected属性和方法的完整测试
- Visio中的长虚线在Word中显示为实线
- ExtJS实战(3)-spring
- 析毫剖厘
- 如何在c:forEach中使用索引
- 任务搁浅
- 类型转换