• Kursy
  • Kompilator kodu
  • Dyskusja
  • Cennik
  • Zespoły
Menu
+ 1

gets funtion is not working in c language with linux software

string.h is included and warning

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

Często masz takie pytania?

Ucz się bardziej efektywnie, za darmo:

  • Wprowadzenie do Pythona

    7.1M uczących się

  • Wprowadzenie do Java

    4.7M uczących się

  • Wprowadzenie do C

    1.5M uczących się

  • Wprowadzenie do HTML

    7.5M uczących się

Zobacz wszystkie kursy
Popularne dzisiaj
Hey I've done the C# and SQL beginner and intermediate, but still feel like there could be more... Is there advanced somewhere?
0 Votes
How to do a responsive page?
1 Votes
Running a python code
2 Votes
Can I make coding projects here and run them without sololearn pro, only in sololearn.
0 Votes
How create a new language ?
0 Votes
Is there any debugging practice here or not?
1 Votes
Hola
0 Votes
Ai in future
1 Votes
How To Enable Disable Divs?
0 Votes
Beginner question
0 Votes