How to solve this error | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
1st Jun 2020, 12:15 PM
Paul
Paul - avatar
3 Answers
+ 3
Ipang Maybe he means the warnings.
1st Jun 2020, 12:25 PM
Denise Roßberg
Denise Roßberg - avatar
+ 2
What is the problem? I didn't have any problem running the code ...
1st Jun 2020, 12:23 PM
Ipang
+ 2
Paul Boby Following up a note from Dennis Roßberg, please from this moment on, avoid use of `gets` function for getting string input. It is deprecated, for safety reasons. For more insights on why it is deprecated, check these SO threads out 👍 https://stackoverflow.com/questions/1694036/why-is-the-gets-function-so-dangerous-that-it-should-not-be-used https://stackoverflow.com/questions/30890696/why-gets-is-deprecated
1st Jun 2020, 12:50 PM
Ipang