+ 3
Why header file <string.h> is not working in sololearn playground ?
Guys i hav write many programs based on string functions like strlen,strcmp etc . and even compiler is not recognising function gets() ... Any experienced programmer plz help me with this problem 🙏🙏 https://code.sololearn.com/cKKlPKClo8FL/?ref=app
7 odpowiedzi
+ 9
https://code.sololearn.com/c7bLBfcV1H17/?ref=app
is this what you were meaning to do?
+ 7
in c or cpp
+ 7
You are welcome!
+ 6
use <string> in C++ string.h is a c header
also you should use <cstdio> instead as well :)
c language is available here now if you wish to use that. You may wish to update your application to gain access though
+ 4
Can u plz give me a sample code 🙏
+ 4
cpp
+ 3
Yes of course .... thank u so much for this help ...