@kevin001 If you want to convert the char to int and a character '1' provides a ascii number that's not 1, you need to remove the offset '0' to realign it to count from 0-9.
you should change char* to char, right now numberstring is an array of pointers – josefx Jun 1 '12 at 9:10.
A char in C is already a number (the character's ASCII code), no conversion required.
How can i convert an int below 10 to a char for example : 5 -> '5' (convert int to char without using ASCII table).
char num1 = Convert.ToChar(num)
Why don't I have to convert int to char with getchar() when reading into a buffer in C?
Also it can be interesting to just see the SQL that the website is running and viewing the other SQL statements in the cache can help figure out how the app works.
Then your char could be said to be 'converted'.
>>> printf.argtypes = [c_char_p, c_char_p, c_int, c_double] >>> printf(b"String '%s', Int %d, Double %f\n"