Description: C++ file read and write operations
Using the traditional IO to read and write files, take a long time, which is often the bottleneck of the program design. The method uses memory mapped files, the data block is read into memory, and then processed. This can be very effective to solve the problem of large files to read and write c++.
To Search:
File list (Check if you may need any files):
IOTest
IOTest.sln
......\BigFileFun
......\..........\BigFileFun.cpp
......\..........\BigFileFun.h
......\Debug
......\.....\BigFileFun.obj
......\.....\CL.read.1.tlog
......\.....\CL.write.1.tlog
......\.....\IOTest.Build.CppClean.log
......\.....\IOTest.exe.embed.manifest
......\.....\IOTest.exe.embed.manifest.res
......\.....\IOTest.exe.intermediate.manifest
......\.....\IOTest.lastbuildstate
......\.....\IOTest.log
......\.....\IOTest.obj
......\.....\IOTest.pch
......\.....\IOTest_manifest.rc
......\.....\link-cvtres.read.1.tlog
......\.....\link-cvtres.write.1.tlog
......\.....\link.11924-cvtres.read.1.tlog
......\.....\link.11924-cvtres.write.1.tlog
......\.....\link.11924.read.1.tlog
......\.....\link.11924.write.1.tlog
......\.....\link.read.1.tlog
......\.....\link.write.1.tlog
......\.....\mt.read.1.tlog
......\.....\mt.write.1.tlog
......\.....\rc.read.1.tlog
......\.....\rc.write.1.tlog
......\.....\stdafx.obj
......\.....\vc100.idb
......\.....\vc100.pdb
......\IOTest.cpp
......\IOTest.vcxproj
......\IOTest.vcxproj.filters
......\IOTest.vcxproj.user
......\ReadMe.txt
......\Release
......\.......\BigFileFun.obj
......\.......\CL.read.1.tlog
......\.......\CL.write.1.tlog
......\.......\IOTest.Build.CppClean.log
......\.......\IOTest.exe.intermediate.manifest
......\.......\IOTest.lastbuildstate
......\.......\IOTest.log
......\.......\IOTest.obj
......\.......\IOTest.pch
......\.......\link.read.1.tlog
......\.......\link.write.1.tlog
......\.......\mt.read.1.tlog
......\.......\mt.write.1.tlog
......\.......\stdafx.obj
......\.......\vc100.pdb
......\stdafx.cpp
......\stdafx.h
......\targetver.h