Home > Back-end >  How to write C file like operating memory contents cover?
How to write C file like operating memory contents cover?

Time:03-04

Scenario: I want to create a 10 gb of files on disk, read and write in c + + does not change the file size but as written to the memory of the contents cover (similar to the Insert on the keyboard),

1. Other articles that can be written to a new file and then will delete the old file, but the file is big, Mrs Write time is too long, (X)

2. Large files are scattered into small files, but very trouble and not safe management, (X)

3. The modeled on the VM virtual machine but I don't know how to implement the virtual disk management, (fx)

Personal feel 3 have hope, but how to implement? Or have other method?


My c + + is self-taught, so god must be remark!
  • Related