文件名称:ConvertUCSDoc
- 所属分类:
- 文件操作
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2014-03-15
- 文件大小:
- 27kb
- 下载次数:
- 0次
- 提 供 者:
- cool****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
VC6.0写的一个小玩意,新公司的入职练手任务。unicode编译环境。要求如下:
题目:用VC6.0实现对unicode格式的文本文件高效率按行读取
要求:
(1)实现以下接口
BOOL OpenStringFile(CString path)
BOOL ReadStringFile(&CString str) //一次读取文件中的一行
BOOL CloseStringFile()
(2)使用内存缓存技术,对于大文件要能达到几十MB/S的速度。
(3)测试程序能实现按行读取后保存在另一个文件(utf-8编码)中。同时能输出读取的速度。
为了节约空间,我把unicode的编译支持库删掉了,大家自行下载,如果VC环境完全安装的,应该可以直接编译。
另外,这个里面,有个公司的公共库,写日志的主要用来。不方便发,我也删了,编译通不过,请大家自行删除这个库相关的设置及代码引用,不影响程序流程。liang20140314-VC6.0 write a gadget, the new company recruits practice hand tasks. unicode build environment. Requirements are as follows: Title: VC6.0 achieve with unicode text file format read by rows of high efficiency requirements: (1) implement the following interfaces BOOL OpenStringFile (CString path) BOOL ReadStringFile (& CString str) // read the file once The line BOOL CloseStringFile () (2) using memory cache for large files to be able to reach speeds of tens of MB/S' s. (3) The test procedure can be achieved by the line read is saved in another file (utf-8 encoding) in. Output speed can be read simultaneously. To save space, I put unicode compiler support library deleted, everyone to download, if VC environment is installed, it should be compiled directly. Further, the inside, there' s public libraries, is mainly used to write the log. Convenient hair, I have deleted, compiler pass, please delete the library itself and code references related settings, does not affect the prog
题目:用VC6.0实现对unicode格式的文本文件高效率按行读取
要求:
(1)实现以下接口
BOOL OpenStringFile(CString path)
BOOL ReadStringFile(&CString str) //一次读取文件中的一行
BOOL CloseStringFile()
(2)使用内存缓存技术,对于大文件要能达到几十MB/S的速度。
(3)测试程序能实现按行读取后保存在另一个文件(utf-8编码)中。同时能输出读取的速度。
为了节约空间,我把unicode的编译支持库删掉了,大家自行下载,如果VC环境完全安装的,应该可以直接编译。
另外,这个里面,有个公司的公共库,写日志的主要用来。不方便发,我也删了,编译通不过,请大家自行删除这个库相关的设置及代码引用,不影响程序流程。liang20140314-VC6.0 write a gadget, the new company recruits practice hand tasks. unicode build environment. Requirements are as follows: Title: VC6.0 achieve with unicode text file format read by rows of high efficiency requirements: (1) implement the following interfaces BOOL OpenStringFile (CString path) BOOL ReadStringFile (& CString str) // read the file once The line BOOL CloseStringFile () (2) using memory cache for large files to be able to reach speeds of tens of MB/S' s. (3) The test procedure can be achieved by the line read is saved in another file (utf-8 encoding) in. Output speed can be read simultaneously. To save space, I put unicode compiler support library deleted, everyone to download, if VC environment is installed, it should be compiled directly. Further, the inside, there' s public libraries, is mainly used to write the log. Convenient hair, I have deleted, compiler pass, please delete the library itself and code references related settings, does not affect the prog
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ConvertUCSDoc\ComonFunc.h
.............\ConvertUCSDoc.clw
.............\ConvertUCSDoc.cpp
.............\ConvertUCSDoc.dsp
.............\ConvertUCSDoc.dsw
.............\ConvertUCSDoc.h
.............\ConvertUCSDoc.ncb
.............\ConvertUCSDoc.opt
.............\ConvertUCSDoc.plg
.............\ConvertUCSDoc.rc
.............\ConvertUCSDocDlg.cpp
.............\ConvertUCSDocDlg.h
.............\OperatorFile.cpp
.............\OperatorFile.h
.............\ReadMe.txt
.............\res\ConvertUCSDoc.ico
.............\...\ConvertUCSDoc.rc2
.............\resource.h
.............\StdAfx.cpp
.............\StdAfx.h
.............\Twofish.h
.............\使用说明.txt
.............\res
ConvertUCSDoc