I included stdio.h and successfully used printf. Why can't I use scanf on solo platform? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I included stdio.h and successfully used printf. Why can't I use scanf on solo platform?

5th Nov 2016, 9:02 PM
Emanuel Lozitsky
Emanuel Lozitsky - avatar
2 Answers
+ 2
Try to inlclude cstdio instead of stdio.h and, if the problem persists, it means that it is a bug and you should contact the Sololearn Support
6th Nov 2016, 9:11 AM
Mihai Dancaescu
Mihai Dancaescu - avatar
0
The compiler said he doesn't know such a file.
6th Nov 2016, 5:13 PM
Emanuel Lozitsky
Emanuel Lozitsky - avatar