i was reading the documentation about specifieing templates when i discovered a function about uppercase chars. i didnt get anything of it. can someone please explain me what theyre doing here.
code:
1 2 3 4 5 6
char uppercase ()
{
if ((element>='a')&&(element<='z')) // i think this is to make sure the char is one of the alphabet
element+='A'-'a'; // element=element + 'A'-'a' ??
return element; //i know this
}