3 ms·
scanf() is probably not the right approach to that, but still you can implement a parser for the common INI syntax in about a third of the code with fgets(), st
by dfox 3y ago
scanf() is probably not the right approach to that, but still you can implement a parser for the common INI syntax in about a third of the code with fgets(), strchr()/str(c)spn and bunch of hand-rolled ad-hoc logic.