文件名称:ConvertUCSDoc
-
所属分类:
- 标签属性:
- 上传时间:2014-03-15
-
文件大小:26.82kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
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/ConvertUCSDoc.clw
ConvertUCSDoc/ConvertUCSDoc.cpp
ConvertUCSDoc/ConvertUCSDoc.dsp
ConvertUCSDoc/ConvertUCSDoc.dsw
ConvertUCSDoc/ConvertUCSDoc.h
ConvertUCSDoc/ConvertUCSDoc.ncb
ConvertUCSDoc/ConvertUCSDoc.opt
ConvertUCSDoc/ConvertUCSDoc.plg
ConvertUCSDoc/ConvertUCSDoc.rc
ConvertUCSDoc/ConvertUCSDocDlg.cpp
ConvertUCSDoc/ConvertUCSDocDlg.h
ConvertUCSDoc/OperatorFile.cpp
ConvertUCSDoc/OperatorFile.h
ConvertUCSDoc/ReadMe.txt
ConvertUCSDoc/res/ConvertUCSDoc.ico
ConvertUCSDoc/res/ConvertUCSDoc.rc2
ConvertUCSDoc/resource.h
ConvertUCSDoc/StdAfx.cpp
ConvertUCSDoc/StdAfx.h
ConvertUCSDoc/Twofish.h
ConvertUCSDoc/使用说明.txt
ConvertUCSDoc/res
ConvertUCSDoc
ConvertUCSDoc/ConvertUCSDoc.clw
ConvertUCSDoc/ConvertUCSDoc.cpp
ConvertUCSDoc/ConvertUCSDoc.dsp
ConvertUCSDoc/ConvertUCSDoc.dsw
ConvertUCSDoc/ConvertUCSDoc.h
ConvertUCSDoc/ConvertUCSDoc.ncb
ConvertUCSDoc/ConvertUCSDoc.opt
ConvertUCSDoc/ConvertUCSDoc.plg
ConvertUCSDoc/ConvertUCSDoc.rc
ConvertUCSDoc/ConvertUCSDocDlg.cpp
ConvertUCSDoc/ConvertUCSDocDlg.h
ConvertUCSDoc/OperatorFile.cpp
ConvertUCSDoc/OperatorFile.h
ConvertUCSDoc/ReadMe.txt
ConvertUCSDoc/res/ConvertUCSDoc.ico
ConvertUCSDoc/res/ConvertUCSDoc.rc2
ConvertUCSDoc/resource.h
ConvertUCSDoc/StdAfx.cpp
ConvertUCSDoc/StdAfx.h
ConvertUCSDoc/Twofish.h
ConvertUCSDoc/使用说明.txt
ConvertUCSDoc/res
ConvertUCSDoc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.