摘要:
int转stringint n = 0;std::stringstream ss;std::string str;ss<<n;ss>>str;string转intstd::string str = "123";int n = atoi(str.c_str()); 阅读全文
摘要:
ASCII码表 0-127 阅读全文
摘要:
①首先将vector排序 sort( vecSrc.begin(), vecSrc.end() ); // 1,2,3,3,4,4,6,7,8,9 ②然后使用unique算法,unique返回值是重复元素的开始位置。 vector<int>::iter pos; pos = unique(ivec. 阅读全文
摘要:
When a table column is defined with the implicitly hidden attribute, that column is unavailable unless it is explicitly referenced. For example, if a 阅读全文