+ 2
How to take input of string ?? Why gets is not working for header file <string.h> in c++ compiler of sololearn ?
In my class they thought that to take input of a string we should use gets () function .. but why its not working with this compiler ?
6 Respuestas
+ 3
Plz show me by giving me a sample code
+ 3
https://code.sololearn.com/csmdCwgpqioH/?ref=app
This code is correct but prob is it can't take input of strings with space .. so modify this one plz ..
+ 3
Awesome man !! thank u so much !!