+ 1
What's wrong with this code?
can't take the string input https://code.sololearn.com/cTGF679tpfcB/?ref=app
3 Answers
+ 6
gets() is obsolete. Do not use <conio.h>, getch().
+ 2
gets(), puts(), getch(), putch() don't work with C++ on CPG. If you want to use them, create the code in C.