![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
c++
luronggui
这个作者很懒,什么都没留下…
展开
-
nng文章
nng文章原创 2023-08-03 23:06:32 · 220 阅读 · 0 评论 -
CMakeLists.txt设置变量传递到源码
CMakeLists.txt设置变量传递到源码原创 2022-09-28 17:57:58 · 534 阅读 · 0 评论 -
c++ map 按照value排序
#include #include #include #include #include using namespace std;// 升序bool cmp(const pair<int,int> &p1,const pair<int,int> &p2)//要⽤常数,不然编译错误{return p1.second<p2.second;}int main(void){map<int,int> mp;mp[1]=4;mp[2原创 2022-05-06 23:53:39 · 794 阅读 · 0 评论 -
c++ map删除指定元素
错误一:int main(int argc, char* argv[]){map<string, string> mapData;mapData["a"] = "aaa"; mapData["b"] = "bbb"; mapData["c"] = "ccc"; for (map<string, string>::iterator i=mapData.begin(); i!=mapData.end(); i++) { if (i->f原创 2022-05-06 23:35:17 · 4294 阅读 · 0 评论 -
c++字符串时间校验
c++字符串转时间原创 2022-09-05 23:14:57 · 490 阅读 · 0 评论 -
c++判断时间字符串是否正确
c++校验时间字符串原创 2022-09-16 22:48:53 · 319 阅读 · 0 评论