cout<<".........................."<<"删除最后一个元素"<<endl;list lIntif(lInt.size()>0){LISTINT::iterator delIter=lInt.end();delIter--;cout<<*delIter<<endl;lInt.erase(delIter);if(lInt.size()>0){delIter=lInt.end();delIter--;cout<<*delIter<<endl;}
- 2 回答
- 0 关注
- 139 浏览
添加回答
举报
0/150
提交
取消