+ 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

7th Dec 2017, 12:39 PM
Samarth H Chinivar
Samarth H Chinivar - avatar
7 Respuestas
+ 9
https://code.sololearn.com/c7bLBfcV1H17/?ref=app is this what you were meaning to do?
7th Dec 2017, 1:06 PM
jay
jay - avatar
+ 7
in c or cpp
7th Dec 2017, 12:50 PM
jay
jay - avatar
+ 7
You are welcome!
7th Dec 2017, 1:14 PM
jay
jay - avatar
+ 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
7th Dec 2017, 12:41 PM
jay
jay - avatar
+ 4
Can u plz give me a sample code 🙏
7th Dec 2017, 12:44 PM
Samarth H Chinivar
Samarth H Chinivar - avatar
+ 4
cpp
7th Dec 2017, 12:52 PM
Samarth H Chinivar
Samarth H Chinivar - avatar
+ 3
Yes of course .... thank u so much for this help ...
7th Dec 2017, 1:14 PM
Samarth H Chinivar
Samarth H Chinivar - avatar