So in class we're making a pong game using the curses.h library. So far I've managed to make the ball move around and bounce, hit the paddle, determine the number of blocks/misses, and so forth.
The only trouble I've had is having it dynamically update the number of blocks and misses because mvaddch(y, x, ch) and mvaddstr(y, x, str) don't play well with integers... I've searched the webpage link that our professor supplied us, as well as a quick good search for "ncurses integer" and have yet to find a function in the curses library that might do the same things as mvaddch but with ints.
Is there such a function? If not what alternatives might I have?
Thank you for your time.
EDIT: This is in C++