Comment Comment by tux3 The moral of the story, as far as I'm concerned: do NOT parse strings in C! Use a library, prefferably in a higher-level language.C string handling is a mess of viciously surprising APIs, juggling those particular footguns is almost certainly not your least bad option. parent tux3 5 years ago
C string handling is a mess of viciously surprising APIs, juggling those particular footguns is almost certainly not your least bad option.