随笔 - 404  文章 - 0  评论 - 1037  阅读 - 136万 
07 2011 档案
c++ boost判断一个字符串中是否含有汉字的代码
摘要:for(set<string>::iteratorit=institutionnames.begin();it!=institutionnames.end();it++){wstringwtemp=strp.String2Wstring(*it);boost::wregexwreg(L"[\u4e00-\u9fa5]");boost::wsmatchm;wstring::const_iteratormybegin=wtemp.begin();wstring::const_iteratormyend=wtemp.end();if(wtemp.size()>3 阅读全文
posted @ 2011-07-25 10:41 finallyly 阅读(2029) 评论(0) 推荐(0) 编辑
zz SQL Server2005以windows 身份验证模式安装后,如何改为混合模式以及sa密码设定
摘要:.使用Management Studio Express,用“Windows身份验证”登录,选中SQL服务器名,右击鼠标选择属性,在服务器属性选项页面,选择“安全性”,将服务器身份验证由“Windows身份验证”改为“SQL Server和Windows身份验证”,单击确定。 2.使用SQL Server 2005外围应用配置器,选择“服务和连接的外围应用配置器”,选SQL Express-->Database Engine-->服务,先停止,再启动,重启SQL Server服务器。 3.再回到Management Studio Express,选择“安全性”-->登录名-- 阅读全文
posted @ 2011-07-14 22:39 finallyly 阅读(2346) 评论(0) 推荐(0) 编辑
知识点备份:C++谓词函数设计的注意事项
摘要:要满足strict weak ordering 理论。strict weak ordering 理论是建立在 strict partial ordering 理论之上的。irrefective, antisymmetric,transitive(partial order 的要求)transitive of equivalence。参考http://www.sgi.com/tech/stl/StrictWeakOrdering.htmlhttp://en.wikipedia.org/wiki/Strict_weak_order 阅读全文
posted @ 2011-07-09 22:11 finallyly 阅读(528) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示