@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.
This question already has answers here: Converting int to char in C (7 answers).
char[] characters = input.ToCharArray(); while (i < length) {.
Лента Ру. Яндекс Новости. Закон KZ.
www.salyk.gov.kz/ru/pages/findtaxpayers.aspx. Сегодня искали
just cast it ? (char)theint? whr the theint in Ascii set and reverse is also possible (int)thechar – internals-in Nov 17 '13 at 3:10.
Введите запрос. Войти. RU. IQ 43: Convert an int to character. Смотреть позже.
I am trying to convert an integer to a char.. How can I do this..?
char *ultoa( unsigned long value, char*string, int radix ); под radix понимают основание преобразуемого числа int value в символьную строку.
Перевожу char в int, но на выходе неверное число, вот упрощений вариант