现在的位置: 首页 > 综合 > 正文

C++备忘 STL释放内存 ,weka使用备忘

2012年12月09日 ⁄ 综合 ⁄ 共 377字 ⁄ 字号 评论关闭

http://topic.csdn.net/u/20100624/11/81e22a62-af5f-4990-9e1f-c0a0c2ba3a15.html

 weka资料http://forum.wekacn.org/viewtopic.php?f=6&t=279

以及我的百度转帖

关于std::fstream以及std::ifstream打开中文路径名失败的问题和解决方法

 //设置代码页为简体中文,936是简体中文的代码页。
    std::locale loc1 = std::locale::global(std::locale(".936"));
{
    
// 在这里使用std::ifstream 或者 std::fstream
}
 

    
//恢复原来的代码页
    std::locale::global(std::locale(loc1));

【上篇】
【下篇】

抱歉!评论已关闭.