jeudi 26 mars 2015

Accepting either a string or a number from a single input C++

If I were to ask the user a question and the response can be either a string or an int, I would have to determine if it were an int or a string before I can pass the input to a variable right? How would I do that?


Aucun commentaire:

Enregistrer un commentaire