read data from hard disk partition with no file system

i have 7 partition in my HDD some are formatted with fat32 filesystem and last(7th) partation have no file system..
i want to write a c++ program to display some contents of 7th partition which has got some data


path is /tmp/mnt/usb1/dev/sda7


as beginner in my company i really need it...as they have given me dead line :(

In linux everything is a file, so read as every other file using ifstream or fopen/fread. If you want to recover some file you need to search for common file formats patterns.
Topic archived. No new replies allowed.