jeudi 20 décembre 2018

c++11 Using regex for input validation

I have been looking forever how I can use Regex to validate input for c++ 11. What I basically would like is a piece of code that validates a number input within a specific range (for this example lets say 0-9). It should only allow numbers that I want the user to enter within the range. How can I do this?

Aucun commentaire:

Enregistrer un commentaire