kevin55

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2012年5月12日

摘要: #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 阅读全文
posted @ 2012-05-12 23:32 kernel_main 阅读(686) 评论(0) 推荐(0) 编辑

摘要: // FindFile.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include <io.h>#include <string.h>#include <iostream.h>const int MAXLEN = 1024; //定义最大目录长度unsigned long FILECOUNT = 0; //记录文件数量void ListDir(const char* pchData,const char * pFileNam 阅读全文
posted @ 2012-05-12 23:28 kernel_main 阅读(1148) 评论(0) 推荐(0) 编辑