I'm trying to create a function, in 2 lines, that will read commands in a way that is not case sentient.
ex. If I type qUIt, it'll read it as quit.
I've agonized over this for hours and came up with
insertIt doesn't work, but am I at least on the right path?Code:for (i = 0; line[i] != '\0'; i++) {
number = myString[i] - '0';
}
Any help will be very welcome, thanks!