会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Uzhia
博客园
首页
新随笔
联系
订阅
管理
2022年11月24日
list使用习惯
摘要: 使用C++ STL中的list<int> li为例。 list.insert(it, x)的解释 在it所对应的节点的前面插入节点x。 注:list.begin()对应链表中第一个节点。 头插法 li.push_front(x); // li.insert(li.begin(), x); 尾插法 l
阅读全文
posted @ 2022-11-24 14:22 Uzhia
阅读(62)
评论(0)
推荐(0)
公告