How to Read Directory Sectors in c/c++

varun.285's Avatar, Join Date: Dec 2011
Newbie Member
I am trying to make a program to Read Directory sectors so that i can get file data,Files which is/are deleted accidentally from a directory.I found lots of sample codes in MFC But i want to do it in core c/c++.

Please provide me some assistance.I will be very thankful to you.

Thanks And Regards:
Varun Bansal,
xpi0t0s's Avatar, Join Date: Aug 2004
Not possible. Directory structures are - if they exist at all - platform specific, so you will have to use platform specific functions to access them. MFC is one way, or you can hit the WinAPI directly, but you can't do it in "core c/c++" (whatever that means).