vc++ 一些知识

http://topic.csdn.net/u/20100711/16/34BFD4BD-1154-4B0C-A77D-DDDDC5F75641.html
http://topic.csdn.net/u/20100409/23/96D136CE-B174-467F-97FF-AE481E212A60.html#r_64559185
http://topic.csdn.net/t/20020518/11/732433.html#r_4799323
http://topic.csdn.net/t/20031123/15/2485955.html#r_17363250
关于内存分配方式
C++中的空类
http://topic.csdn.net/u/20100409/23/96D136CE-B174-467F-97FF-AE481E212A60.html#r_64559185
http://www.51testing.com
http://www.blogjava.net
http://www.vckbase.com/
http://www.helpwork.net
http://bbs.eetop.cn/forum-97-5.html
http://www.chinaunix.net/
http://blog.csdn.net/badbirdboy/article/details/5462478   处理xml

//1.c++获得编辑框的值
CEdit* T = (CEdit *)GetDlgItem(IDC_msgBox);
T->SetWindowText("用户连接成功");
//2.int 转std::string
#include <sstream>
using std::cout;
using std::endl;
std::ostringstream oss;
std::string str="";
int a = 123456789;
oss<<a;
str +=oss.str();
cout<<str<<endl;
//3.

str_replace(std::string & str, const std::string & strsrc, const std::string &strdst)
{
std::string::size_type pos = 0;//位置
std::string::size_type srclen = strsrc.size();//要替换的字符串大小
std::string::size_type dstlen = strdst.size();//目标字符串大小
while((pos = str.find(strsrc,pos)) != std::string::npos)
{
str.replace(pos,srclen,strdst);
pos += dstlen;
}
}
//
std::find_if( sourceVec.begin(), sourceVec.end(), CotSameEType(it->first) );

std:: string detailResult =str + "\\..\\template\\detail.html";
std::ifstream inFile(detailResult.c_str());
if (!inFile.is_open())
{
return;
}
multimap,map,list

你可能感兴趣的:(vc++)