Introduction


libparted++ allows you to build C++ GUI frontends using gtkmm or Qt. The library is 99% exception safe.
Have a look at the following example code (taken from test2.cc from the tarball):

std::string s;
std::cout << "Enter device path: ";
std::cin >> s;
try {
    Ped::Device test(s);
    Ped::Disk disk(test);
    std::cout << "Disk type is: " << disk.get_disktype().get_name() << std::endl;
}
catch (runtime_error &e) {
    std::cout << e.what() << std::endl;
}


... to be completed ...