Greetings friends,
It's been a while since I've visited this C/C++ forum, and as expected my C++ is unacceptably rusty. Recently I've been reading about Master Boot Records (MBR) and the boot process of a computer. Now I've downloaded small utilities that have the ability to read (and backup to file) the MBR of a partition. These utilities usually have the ability to restore the MBR from a file or simply "fix" the MBR. What I'm wondering: Can a similar utility be written in C++ ? I have no idea what these programs may have been written in, btw.
Alright so I know that was long-winded but my only real question is, is it possible to access and read the portion of the disk that contains the MBR via C++ and can somebody point me in the direction of how to achieve this?
thanks!
James