词条 | imbue函数 |
释义 | 函数原型: locale basic_ios::imbue( const locale& loc); 参数说明: loc: const 对象引用,表示输出时,使用的区域语言对象 返回值: 之前的使用的区域语言 示例: #include <iostream> using namespace std; int main() { wcout.imbue(locale("chs"));//使用中文区域语言 wcout<<L"English中文"<<endl; return 1; } |
随便看 |
百科全书收录4421916条中文百科知识,基本涵盖了大多数领域的百科知识,是一部内容开放、自由的电子版百科全书。