登录
首页 » 文件处理 » 文件分割器的实现 1.用CFileDialog类让用户选择需要进行分割或合并的文件(根据用户选择的操作) 2.在这里我们在切分文件之后,对分割后的文件名进行一个...

文件分割器的实现 1.用CFileDialog类让用户选择需要进行分割或合并的文件(根据用户选择的操作) 2.在这里我们在切分文件之后,对分割后的文件名进行一个...

于 2022-05-21 发布 文件大小:28.63 kB
0 38
下载积分: 2 下载次数: 1

代码说明:

文件分割器的实现 1.用CFileDialog类让用户选择需要进行分割或合并的文件(根据用户选择的操作) 2.在这里我们在切分文件之后,对分割后的文件名进行一个处理,原则是文件名(不含扩展名)+pti (i为本分文件的序号)+.sld。自己定义了一种扩展名,因为如果别人切分一个exe文件,你分割以 后全部是exe文件,别人一执行,很可能会出现异常的。 3.根据用户填写的分数,计算每一份的大小,除不尽的加进最后一份。每份文件的最后写入一些附加 信息,如文件的扩展名,分数-separate document for the realization of one. With CFileDialog class allows users to choose the need for separate or combined document (user selectable operation) 2. Here we segmentation document, right after the split for a file name, the principle is that the paper (not including extensions) PTI ( i document as part of the serial number). ARX. His definition of an extension, because if someone splitting an exe file, you split after all exe file, and people, it is likely to be abnormal. 3. Users fill in the scores for each of a size, with the exception of the one into the last one. Each of the final document included some additional information, such as the file name extension, scores, etc.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 696524资源总数
  • 103945会员总数
  • 46今日下载