vc6.0读取超大txt文本文件

上传者: lishungong | 上传时间: 2021-05-24 09:33:43 | 文件大小: 4.85MB | 文件类型: ZIP
Vc下读取txt文件 普通大小的一般用fread就可以了,但是遇到大容量的文本文件会有读取错误的现象,那该怎么办呢?本程序是用MFC的CFile类解决的 经过测试没有问题

文件下载

资源详情

[{"title":"( 33 个子文件 4.85MB ) vc6.0读取超大txt文本文件","children":[{"title":"test","children":[{"title":"test.ncb <span style='color:#111;'> 57.00KB </span>","children":null,"spread":false},{"title":"test.cpp <span style='color:#111;'> 1.99KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"test.rc2 <span style='color:#111;'> 396B </span>","children":null,"spread":false},{"title":"test.ico <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false}],"spread":true},{"title":"testDlg.h <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"test.opt <span style='color:#111;'> 48.50KB </span>","children":null,"spread":false},{"title":"test.clw <span style='color:#111;'> 986B </span>","children":null,"spread":false},{"title":"test.h <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":"StdAfx.cpp <span style='color:#111;'> 206B </span>","children":null,"spread":false},{"title":"record.txt <span style='color:#111;'> 1.21MB </span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'> 682B </span>","children":null,"spread":false},{"title":"test.plg <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"test.dsw <span style='color:#111;'> 533B </span>","children":null,"spread":false},{"title":"StdAfx.h <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"test.dsp <span style='color:#111;'> 4.03KB </span>","children":null,"spread":false},{"title":"test.rc <span style='color:#111;'> 4.99KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"test.obj <span style='color:#111;'> 13.06KB </span>","children":null,"spread":false},{"title":"StdAfx.obj <span style='color:#111;'> 103.64KB </span>","children":null,"spread":false},{"title":"test.res <span style='color:#111;'> 2.35KB </span>","children":null,"spread":false},{"title":"test.ilk <span style='color:#111;'> 215.61KB </span>","children":null,"spread":false},{"title":"test.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"test.exe <span style='color:#111;'> 104.09KB </span>","children":null,"spread":false},{"title":"vc60.idb <span style='color:#111;'> 201.00KB </span>","children":null,"spread":false},{"title":"StdAfx.sbr <span style='color:#111;'> 1.31MB </span>","children":null,"spread":false},{"title":"vc60.pdb <span style='color:#111;'> 356.00KB </span>","children":null,"spread":false},{"title":"testDlg.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"test.pch <span style='color:#111;'> 6.69MB </span>","children":null,"spread":false},{"title":"testDlg.obj <span style='color:#111;'> 24.69KB </span>","children":null,"spread":false},{"title":"test.bsc <span style='color:#111;'> 4.60MB </span>","children":null,"spread":false},{"title":"test.pdb <span style='color:#111;'> 361.00KB </span>","children":null,"spread":false}],"spread":false},{"title":"test.aps <span style='color:#111;'> 34.69KB </span>","children":null,"spread":false},{"title":"testDlg.cpp <span style='color:#111;'> 4.79KB </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 3.46KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • 倪思为 :
    就一句有用的代码还要VIP下载,太不值得
    2021-04-23
  • thumbsup :
    可以参考一下
    2020-12-12
  • 舒泽昊 :
    谢谢楼主的分享资源,辛苦了
    2017-06-22
  • Xx123g :
    这完全就是浪费分。一点实际用处都没有。读取出来的值监控不了。也不知道有没有错误
    2017-04-05
  • wuhq030710914 :
    谢谢分享,单真不值得下载
    2016-05-18

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明