gets funtion is not working in c language with linux software | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

gets funtion is not working in c language with linux software

string.h is included and warning

30th Oct 2018, 9:14 AM
Shobith Shobi
Shobith Shobi - avatar
1 Antwort
+ 6
gets() is deprecated. Use fgets(). http://www.cplusplus.com/reference/cstdio/fgets/
30th Oct 2018, 9:23 AM
Hatsy Rei
Hatsy Rei - avatar