Click here to Skip to main content
15,885,101 members
Articles / Programming Languages / C++

when reading a sparse file, the free space of disk decreases.

Rate me:
Please Sign up or sign in to vote.
4.00/5 (1 vote)
15 Sep 2012CPOL 4.2K  
Situation : 1,creating a empty Sparse file on the given volume (system xp or server 2003) and specify the 10G size of the file.2,Like reading a normal file ,codes as follow: void CFileCheckDlg::OnButtonCreate() { // TODO: Add your control notification handler code here ...

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

Please Sign up or sign in to vote.
12 Sep 2012terroblade
when i restarted my computer, the disk recoveried, i can`t understand.i need your help.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
China China
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions