标签:des style blog http io color ar os sp
char* zhuanhuan(std::string src) { char *dst = new char[255]; int i; int j=src.length(); for(i=0;i <src.length();i++) dst[i]=src[i]; dst[i] = '\0'; return dst; }
openAccess(); CString cmbParam = L"SelfImprovement"; std::string a1=(CT2A)(cmbParam.GetBuffer()); char buff[256] = {0}; sprintf(buff, "select * from tb_YCType where YCName = '%s' order by YCType desc",zhuanhuan(a1)); m_pRecordset = m_pConnection->Execute(buff, &RecordsAffected, adCmdText);
标签:des style blog http io color ar os sp
原文地址:http://blog.csdn.net/u010236550/article/details/41014159