realloc - converting int to char
- by Mike
I'm converting an array of integers into a char by iterating through the whole array, and then I'm adding the resulting string to ncurses's method new_item. For some reason I'm doing something wrong the way I reallocate memory, thus I get the the first column as:
-4 Choice 1 0 Choice 1
4 Choice 2 1 Choice 1
4…