+ 4

I need a serious help. 🙁

Actually i want to know if i read a string using gets(), suppose the string is "this is sololearn". I want to know how to operate further, suppose i want to print "is"only or "sololearn" only then how can i do that ??????

29th Jul 2019, 9:34 AM
GameHuB
GameHuB - avatar
14 Antworten
29th Jul 2019, 10:01 AM
alvaro.pkg.tar.zst
alvaro.pkg.tar.zst - avatar
+ 2
you need to Create your own function for that, i dont think there is one
29th Jul 2019, 10:05 AM
✳AsterisK✳
✳AsterisK✳ - avatar
+ 2
If gets is deprected then which function should be used to read strings. Is getline a good choice?
29th Jul 2019, 10:17 AM
🇮🇳Omkar🕉
🇮🇳Omkar🕉 - avatar
0
keep on trying that's how you get better
18th Aug 2019, 7:42 AM
isa
- 2
hello
12th Aug 2019, 12:34 AM
Maira Calderón
Maira Calderón - avatar