汤姆熊猫

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2011年12月10日

摘要: The lstrcmpfunction compares two character strings. The comparison is case sensitive.To perform a comparison that is not case sensitive, use thelstrcmpifunction.Syntaxintlstrcmp(LPCTSTRlpString1,LPCTSTRlpString2);ParameterslpString1[in]Pointer to the first null-terminated string to be compared.lpStr 阅读全文
posted @ 2011-12-10 17:19 汤姆熊猫 阅读(6078) 评论(0) 推荐(0)

摘要: vector<int> vec; vec.push_back(1); vec.push_back(2); vec.push_back(3); vec.push_back(4); vec.push_back(5); vector<int>::iterator ret; ret = std::find(vec.begin(), vec.end(), 15); if(ret == vec.end()) cout << "not find" << end... 阅读全文
posted @ 2011-12-10 17:18 汤姆熊猫 阅读(16611) 评论(1) 推荐(0)