This weeks assignment has to do with using a convert char to int. My problem is I don't have the slightest idea why you would want to do that or what you would use it for. I don't want the answers just any possible hints or pointers on how this function could be useful. Thanks!
Characters are really just 1 byte integers(0-256). The character representation is based off the ascii value. So you can directly assign the value of a character to an integer or return the value of it. Another method is to cast it to an integer.
I'm not sure what you are trying to do exactly.
Are you trying to change '0' to 0 or get the ascii value of any characters?