-
How do you convert string from upper to lower or from lower to upper or whatever other conversion of that type you need to do. I tried using strlwr, but I'm so dumb that I can't get it to work (it's hard to move from VB to VC++, but unfortunately you have to do it sooner or later - well maybe not completely forget about VB, but... whatever)
Thanks in advance
-
try this:
Code:
void myfunc() {
char* pcMyStr = "Here Is Some TEXT!";
strlwr(pcMyStr);
// pcMyStr is now "here is some text!"
printf("%s", pcMyStr);
}