Showing a warning of implicit declaration of strrev() function even if I include the string header file. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Showing a warning of implicit declaration of strrev() function even if I include the string header file.

I was doing the challenge - pig latin, where I needed to use the strrev() function but this is showing a warning - implicit declaration of strrev function.

8th May 2020, 5:47 PM
Manthan Gohel
Manthan Gohel - avatar
8 Answers
+ 3
@Manthan Gohel Then you need to create the string reverse routine yourself.
8th May 2020, 6:17 PM
rodwynnejones
rodwynnejones - avatar
+ 3
quote from GeeksforGeeks: "This is a non-standard function that works only with older versions of Microsoft C." I know it's in the tutorial.......should be removed....It confuses people.
8th May 2020, 5:51 PM
rodwynnejones
rodwynnejones - avatar
+ 3
rodwynnejones Ok, Thank you so much for helping
8th May 2020, 6:22 PM
Manthan Gohel
Manthan Gohel - avatar
+ 2
Link you code here so that can help people who know c language to help you out.
8th May 2020, 5:49 PM
Raj Chhatrala
Raj Chhatrala - avatar
+ 2
rodwynnejones oh thanks for the info, but how can we use the funtion in sololearn?
8th May 2020, 5:54 PM
Manthan Gohel
Manthan Gohel - avatar
8th May 2020, 6:08 PM
Manthan Gohel
Manthan Gohel - avatar
+ 1
🔫 Rick Grimes I saved the challenege but when i checked, it wasn't saved, so sorry.
8th May 2020, 5:53 PM
Manthan Gohel
Manthan Gohel - avatar
+ 1
@Manthan Gohel You can't.....you have to make one yourself. Is it C or C++ your doing the challenge in?
8th May 2020, 5:59 PM
rodwynnejones
rodwynnejones - avatar