3 ms·
I don't think that counts - fgets (the safer replacement) was already in C89. "Modern C" by 1999 already included "Don't use gets()"
by lelanthran 3mo ago
I don't think that counts - fgets (the safer replacement) was already in C89.
"Modern C" by 1999 already included "Don't use gets()"
- Animats 3mo agoThe key concept of an "edition" is that you can deprecate stuff. "gets()" should have been pulled from the standard library around 1990 or so, along with "strcat" and its frenemies.