#include #include #include using namespace std; int main(){ mapmapStudent; mapStudent[1]="student1"; mapStudent[2]="student2"; mapStudent[3]="student3"; for(int i=3;i>=1;i--){ cout<::iterator it; for(it=mapStudent.begin();it!=mapStudent.end();it++){ cout<<(it->first)<<" "<<(it->second)<
上一篇 C++相关知识点整理
下一篇 断言ASSERT用法
版权所有 (c)2021-2022 MSHXW.COM
ICP备案号:晋ICP备2021003244-6号