HELP with strlen and strcmpi
Hello all,
I was wondering if anyone can tell me what alternatives I have to using these two functions the strlen, and the strcmpi?
I'm trying to write this code and I was wondering could I use string.length instead of strlen and how would I be able to do this:
and then how am I able to change these two functions:
Code:
if (!strcmpi (word2,word)) {cout<<"\n\t\t\t "<<strupr(word)<<"\n\n\t\t\tCongratulations\n"; break;}
to use some other method of writing this piece of code, but to evaluate to the same output? Meaning the strcmpi, and the strupr