I am writing code that returns an integer, which should then be printed using printw from the ncurses library. However, since printw only accepts char *, I cannot figure out how to output it.
Essentially, is there a way to store an integer in a char array, or print an integer using printw?
c ++ arrays char integer ncurses
Galileo
source share