Im using the SFML library and the TGUI library, first one to create a window and the second to have text boxes to get some user input.
I take the text, convert to ansiString and store it in a vector of strings.
I then pass the vector to a function, where I want to make sure the inputted text is valid by checking that each element of every string in the vector falls within the correct ASCII range (in this case, each string should be 0-9 only).
Now this doesn't work because num[0] is the first string in the vector and you can't compare that, so how do I code it such that it starts by comparing the first element of the first string?