文件名称:ReadFile_And_WriteFile-Demo(VS2013)
- 所属分类:
- 控制台(字符窗口)编程
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2015-08-26
- 文件大小:
- 1.22mb
- 下载次数:
- 0次
- 提 供 者:
- themost*******
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
对上次本人用dev c写的读写文件的程序进行改写,这次是用VS2013写的,将读文件与写文件分别封装成两个独立的函数放到两个独立的文件.cpp(.h)中,便于以后根据自己的需要对函数功能进行相应的扩展。读文件操作制将某一文件的二进制流读出写到一个txt文件中,写文件指将事先写好的数组中的数据一二进制流的形式写成一个新的文件。
两个函数原型:
void ReadFile(char* readfilename, char* writefilename)
void WriteFile(char* writefilename, char* data, int length) -Last on the program I use dev c write rewrite read and write files, this is written with VS2013, will read the file and write files are packaged into two separate functions into two separate files .cpp (. h), to facilitate future according to their own needs for function-extended accordingly. Read the operating system file binary stream reading a file written to a txt file, write file refers to the form of a data array prior written written as a binary stream a new file.
Two prototype:
void ReadFile (char* readfilename, char* writefilename)
void WriteFile (char* writefilename, char* data, int length)
两个函数原型:
void ReadFile(char* readfilename, char* writefilename)
void WriteFile(char* writefilename, char* data, int length) -Last on the program I use dev c write rewrite read and write files, this is written with VS2013, will read the file and write files are packaged into two separate functions into two separate files .cpp (. h), to facilitate future according to their own needs for function-extended accordingly. Read the operating system file binary stream reading a file written to a txt file, write file refers to the form of a data array prior written written as a binary stream a new file.
Two prototype:
void ReadFile (char* readfilename, char* writefilename)
void WriteFile (char* writefilename, char* data, int length)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ReadFile_And_WriteFile Demo(VS2013)\ReadFile_And_WriteFile\Debug\ReadFile_And_WriteFile.exe
...................................\......................\.....\ReadFile_And_WriteFile.ilk
...................................\......................\.....\ReadFile_And_WriteFile.pdb
...................................\......................\.....\result_bmp.txt
...................................\......................\.....\result_gif.txt
...................................\......................\.....\result_ico.txt
...................................\......................\.....\result_jpg.txt
...................................\......................\.....\result_png.txt
...................................\......................\.....\test(Made By JXL).bmp
...................................\......................\.....\test(Made By JXL).gif
...................................\......................\.....\test(Made By JXL).ico
...................................\......................\.....\test(Made By JXL).jpg
...................................\......................\.....\test(Made By JXL).png
...................................\......................\.....\test.bmp
...................................\......................\.....\test.gif
...................................\......................\.....\test.ico
...................................\......................\.....\test.jpg
...................................\......................\.....\test.png
...................................\......................\ReadFile_And_WriteFile\Debug\main.obj
...................................\......................\......................\.....\ReadFile.1F4B1467.tlog\CL.read.1.tlog
...................................\......................\......................\.....\......................\CL.write.1.tlog
...................................\......................\......................\.....\......................\link.read.1.tlog
...................................\......................\......................\.....\......................\link.write.1.tlog
...................................\......................\......................\.....\......................\ReadFile_And_WriteFile.lastbuildstate
...................................\......................\......................\.....\ReadFile.obj
...................................\......................\......................\.....\ReadFile_And_WriteFile.log
...................................\......................\......................\.....\vc120.idb
...................................\......................\......................\.....\vc120.pdb
...................................\......................\......................\.....\WriteFile.obj
...................................\......................\......................\main.cpp
...................................\......................\......................\ReadFile.cpp
...................................\......................\......................\ReadFile.h
...................................\......................\......................\ReadFile_And_WriteFile.vcxproj
...................................\......................\......................\ReadFile_And_WriteFile.vcxproj.filters
...................................\......................\......................\result_bmp.txt
...................................\......................\......................\result_gif.txt
...................................\......................\......................\result_ico.txt
...................................\......................\......................\result_jpg.txt
...................................\......................\......................\result_png.txt
...................................\......................\......................\test(Made By JXL).bmp
...................................\......................\......................\test(Made By JXL).gif
...................................\......................\......................\test(Made By JXL).ico
...............................