How to use tolower command for a string??
for example:
printf("Please inout the word for convert:");
scanf("%s", result);
result[6]=tolower( result[6]);
ptr = strcmp(result, word );
how come the program can work, but it doesn't convert?
the variable result (a string), iz the 1 which i wan to convert.
the variable word (a string) is the 1 which i wan to compare with. So no matter the content of result iz a big letter, ir a small letter, the compare result will still be the same.
pls help mi..~~
thanx