+ 2
[SOLVED] Problem using gets()
I am trying to make a c program to change case of letters in a string using functions from string.h header file. I've used gets() to take string input. A popup box for taking input should come when I run the code in code playground. But it isn't coming. What's the problem with the code? Thanks in advance. https://code.sololearn.com/ckkGl7HSb9Dz/?ref=app
3 Answers
+ 6
Use @kurwius technique or place "cin>>" after the return 0 line of your main
Of course gets is supported !