搜索资源列表
用标准模板库STL实现文件比较
- 用标准模板库STL实现文件比较. 本文讨论如何使用标准模板库(STL),类模板和函数模板,以及其它编程技术来解决实际问题。本文涉及到STL包含的集合和向量,函数模板,类模板,常量检验,出错处理和使用STL的文件I/O。 要阅读本文,你要熟悉C++,熟悉类模板和函数模板。本文汇集了大量有关的信息,指引你逐步阅读。 本文用提问,设计和解决方案引导阅读。希望你能喜欢。 -Standard Template Library STL files comparison. This pa
FileWatch_demo
- This class helps you to monitor files like in the DevStudio. If the file is modified outside your application a message box pops up and lets you choose between ignoring modifications or reloading the data, thus discarding all changes. -This class hel
fileinfo_demo
- file gathering through directories and this class allows just that: gather file information recursively by directory and, as a bonus track, it also calculates 32bit file-checksum (note this is not NT s executables checksum calculated with MapFileAndC
FileSlider
- 文件分割器的实现 1.用CFileDialog类让用户选择需要进行分割或合并的文件(根据用户选择的操作) 2.在这里我们在切分文件之后,对分割后的文件名进行一个处理,原则是文件名(不含扩展名)+pti (i为本分文件的序号)+.sld。自己定义了一种扩展名,因为如果别人切分一个exe文件,你分割以 后全部是exe文件,别人一执行,很可能会出现异常的。 3.根据用户填写的分数,计算每一份的大小,除不尽的加进最后一份。每份文件的最后写入一些附加 信息,如文件的扩展名,分数-separate docu
INI_Class
- VC++INI文件读写类,将对一般INI文件的各项操作,包括打开,读,写,修改等功能简化为几个方法,综合为一个类。-VC++ INI file reading and writing class, will the general operation of the INI files, including open, read, write, modify functions simplify several ways, integrated into a category.
FileConnection
- 提供对本地文件系统的访问功能.当试图对一个已经关闭的对象进行操作时,会抛出此异常。这是一个很关键的类,基本上文件读写都是有该类完成。可以从字面上去理解它的意思。这个类我也没用过,不知道它具体的功能。用于监听文件系统目录状态的变化,比如文件的删除、新增,存储卡的拔出和插入等。用于管理和跟踪文件系统的监听器,以及可以通过此类过去当前所有文件系统的根目录.文件打开模式异常,当试图写入以只读方式打开的文件时,会抛出该异常。 -Provides the local file system acces
J2ME
- 是一个基于LZARI算法的数据压缩的类.Haruhiko Okumura 于1989年7月4日用c语言写实现了这个算法.但是上面用到了一些全局或静态的变量,在MFC下用起来很不方便.我把它改写成了一个c++类,使它可以方便的压缩和解压缩,更重要的是,我新增加了两个接口,这个类可以压缩/解压缩一段内存缓冲区,而不仅仅是文件. 一共提供了5个对外接口: -Is a data compression algorithm based on LZARI class. Haruhiko Okum
AppLogTest
- 自己编写的程序日志类,能记录程序错误,包括动态库和客户端-I have written log class that records the error, including the dynamic library and client
directory_list
- This code is a class that lists the directory you pick and all the subdirectories inside of it. There is no limit of subdirectories. It is defined dynamically and reads files in directories and starts controlling after the 4. character from the end o
EXCELACESS
- 使用BasicExcel类来进行Excel表格操作的例子,很不错的~~原本是VC6.0的,被我用VS2005编译过-Excel uses BasicExcel class for examples of the operation table, very good ~ ~ originally VC6.0, have been compiled I used VS2005 ~ ~
IO
- I/O流类库提供对象之间的数据交互服务 输出流:表示数据从内存传送到某个载体或设备中; 输入流:数据从某个载体或设备传送到内存缓冲区变量中。-I/O stream class library to provide data exchange services between the object output stream: said data transfer from memory to a vehicle or equipment input stream: data fro
DelphiINI
- 本程序为Delphi对INI文件的写入和读取,并附上TInifile类的详细用法文档。希望对新手有所帮助!-This program was written for Delphi INI file and read, with detailed usage documentation TInifile class. I hope to help novice!
0512-CString
- 每日一学,该工程描述的是CString 类的各种用法,CString是一个很强大的类,自带了很多操作函数,该工程有几种常用的函数,希望能帮到初学者-A study, the project is described in various categories CString usage, CString is a very powerful class, with many functions, the project has several functions, I hope to help
StatisticsCharacters
- I/O流操作 任务目标: 练习C++的文件数据处理方法,学习类ifstream(从文件输入)、ofstream(向文件输出)和fstream(从文件输入,输出)的定义与用法。 任务描述: 编写一个程序,用统计一个源代码文件(以你所写的代码文件为对象)中英文字符串的种类与个数并输出到文件phases.dat,记录格式如下: Type number main 1-I/O stream operations mission object
