Hello,
I have the following situation:
I want to check if the char in a string is the same as an int.
So lets say:
int one = 1;
string test = "1234";
for(n = 0; n<4; n++)
{
if (string[n] == one) // this always comes back negative
{
action
}
}
Do I need to convert it to an int, and if so how do I do that?
Thanks,
Niels

