Hello kindly i am a beginner and new to this platform,,I am trying to run a program to test a valid password with uppercase,lowercase letters and atleast one number.Part of the program is...
bool hasUpperCase(const string password)
{
enter code here
for (auto &c : password)
{
if (isupper(c))
return true;
}
return false;
}
I have tried running the whole program on my compiler which is Falcon C++ but it keeps giving me this error," 'auto' will change meaning in C++0x; please remove it " How can I remove it and what is its alternative.
NB- the program runs on other compilers such as Onlinegdb.com and C++ shell
Aucun commentaire:
Enregistrer un commentaire