摘要:
#include <iostream>#include <list>using namespace std;int main(){ char cTemp; list<char> charlist; for(int i=0;i<5;i+=3) { cTemp='a'+i;//ASCII值加i charlist.push_front(cTemp); } cout << "list old:" <<endl; list<char>::iterator it; for(it=charlis 阅读全文