fopen打开文件string txt;char buff[64 * 1024];while( !feof(fp) ){ int n = fread(buff, 64*1024, fp); 每次读取64K txt.append(buff, n);}分析txt,做你的需求
没听懂你说的什么意思.