Commit b233e3ee authored by Davis King's avatar Davis King

Simplified example a little

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404086
parent be4fe105
...@@ -79,10 +79,7 @@ int main() ...@@ -79,10 +79,7 @@ int main()
{ {
try try
{ {
ifstream fin("config.txt"); cr_type cr("config.txt");
cr_type cr;
cr.load_from(fin);
// Use our recursive function to print everything in the config file. // Use our recursive function to print everything in the config file.
print_config_reader_contents(cr); print_config_reader_contents(cr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment