Sounds like you want to parse a file that’s pretty close to an ini file.
There’s at least a few INI parser libraries out there: minIni, iniParser, libini, for instance.
More Related Contents:
- How to open an application through C++? [closed]
- What should main() return in C and C++?
- What are copy elision and return value optimization?
- Is cout synchronized/thread-safe?
- Why can’t the template argument be deduced when it is used as template parameter to another template?
- What are the mechanics of short string optimization in libc++?
- Dynamically load a function from a DLL
- Is local static variable initialization thread-safe in C++11? [duplicate]
- How to return local array in C++?
- Why pow(10,5) = 9,999 in C++
- Explicit template instantiation – when is it used?
- Can’t set value of static object field (error LNK2001: unresolved external symbol)
- error LNK2038: mismatch detected for ‘_MSC_VER’: value ‘1600’ doesn’t match value ‘1700’ in CppFile1.obj
- How to Detect the Number of Physical Processors / Cores on Windows, Mac and Linux
- Does constexpr imply inline?
- Mixing debug and release library/binary – bad practice?
- What are the distinctions between the various symbols (*,&, etc) combined with parameters? [duplicate]
- Is it reasonable to use std::basic_string as a contiguous buffer when targeting C++03?
- Why is there an implicit type conversion from pointers to bool in C++?
- Adding types to the std namespace
- What the point of using std::ios_base::binary?
- How to overload unary minus operator in C++?
- valgrind memory leak errors when using pthread_create
- isdigit(c) – a char or int type?
- Why is a constexpr function on a reference not constexpr?
- Will new operator return NULL? [duplicate]
- Does one double promote every int in the equation to double?
- Do static members of a class occupy memory if no object of that class is created?
- brace initialization for inherited pod
- c++ global object