C Parser for parsing and reading Config file with defined format?
I need to parse a configuration file , I need to compare the string variable and get the values.
The variable and values are seperated by white spaces,
TestscenConf.config file contains the following,
 [IP_ADDR1] 192.168.1.0
 [IP_ADDR2] 192.168.1.2
 [IP_ADDR2] 192.168.1.3
Here, everything is seperated by space.
I want to compare variable name and get its value.
How can I parse it in C or C++.
|All times are GMT +5.5. The time now is 06:32.|