|
Boost Users : |
Subject: [Boost-users] how to concatenate program_options::parsed_options
From: Caleb Cushing (xenoterracide_at_[hidden])
Date: 2009-09-29 16:48:58
this is a quick summation of the code I'm trying to build
// get home directory
parsed_options home = parse_environment(desc, "HOME");
// add the relative path to the home directory making it a full path
parsed_options rcfile = home + "/.koramarc";
// parse the config file
store(parse_config_file(rcfile, desc), vm);
honestly all I need to do is parse a config that's in hidden file
relative to the users home directory. so if there's a better way
that'd work lete me know.
-- Caleb Cushing http://xenoterracide.blogspot.com
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net