NoFear

导航

2011年12月8日

摘要: View Code int LoadDictionary(){ FILE *fp; fp=fopen("formatpwd.txt","rb"); fseek(fp,0,SEEK_END); size_t DicLength=ftell(fp); fseek(fp,0,SEEK_SET); char * pbuf = new char[DicLength+1]; memset(pbuf,0,DicLength); fread(pbuf,sizeof(char),DicLength,fp); PWD pwd; size_t offset... 阅读全文

posted @ 2011-12-08 11:07 Fear_Hao 阅读(182) 评论(0) 推荐(0) 编辑