$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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