bool FBullCowGame::IsLowercase(FString Word) const
{
for(auto Letter : Word)
if (!islower(Letter))
{
return false;
}
else { return true; }
}
This was the actual first time i was able to do a whole exercise successfully on my own. Pretty proud of myself , i used the not command in order to have return true as the else, think that way i covered the exceptional cases, \0 works at least.
Having a blast, thank you for this.