3 ms·
Unless you're using a pre-specified configuration file format (e.g. TOML), then parsing configuration files requires a general parsing library. If you have nee
by yason 8y ago
Unless you're using a pre-specified configuration file format (e.g. TOML), then parsing configuration files requires a general parsing library.
If you have needs that require a general parsing library then why are you criticizing strtok()? It doesn't parse XML either, not C source code, nor any unspecified configuration file formats.
- nly 8y agoMy point is that strtok has almost no reasonable uses in real programs.