Hi, Can someone point out a tutorial or some place where I can learn how to read values from a .cfg file? Say I have a Input.cfg file which goes like: <com> <MyCompany> <Common inputDir="C:/vray/xml_files/" outputDir="C:/xm_output" /> </MyCompany> </com>
Now, if I need the inputDir value inside my program, how do I do it?
Do I use: Config conf = blah blah and so on? How do I initialize this config class? How do I use this object and read the input directory and output directory values??? Any help will be appreciated. Thanks.
[ May 21, 2007: Message edited by: v ray ] [ May 21, 2007: Message edited by: v ray ]