When i executed a program in C,i got this error:
undefined reference to `strupr’ collect2: ld returned 1 exit status.
http://www.codechef.com/viewsolution/1966014
why is this error ?
is strupr() not available in string.h library ?
If so, what are the other string functions that are not available in the string.h library ?
The functions available in the string.h library are given here. Functions like strupr, strlwr, strrev, which are available in ANSI C (Turbo C/C++) are not available in standard C (gcc).
Thank you so much for the information.
What should i do in such case?