mardi 22 septembre 2020

C++ variable to accept more than one value

For instance:

string Marmots = "Ferret"

but I also want to allow the user to say "ferret" with a lower case "f". So what could I do? I assume it can easily be done in Python but I want to do it in C++

Aucun commentaire:

Enregistrer un commentaire