How do I convert a char to an int in C and C++?
int search_book(){ int select_search; char dumpchar[30]; printf("1. Title to search : "); printf("2. Author to search : "); printf("3. Name to search : "); printf
I know that for cannot convert char to char * you just use the & in front of the char, but I cannot figure out what to do in this case.
int length = 10; char len = length + '0'; printf("%c", len); This gave me : for 58 on the ascii chart not 10 that I wanted.
cannot convert from char*[256] to char**. Yet if I do this
Перевожу char в int, но на выходе неверное число, вот упрощений вариант
Convert String To Integer In C Without Atoi.
Если нужно перевести число в строку на си (char *), то лучше всего использовать стандартную функцию