Printing out variables in PDCurses

When using PDCurses I tried getting it to print out a character from a table that was made earlier, it looks like this
mvprintw(y, x, sTileIndex[nType].nCharacter);
but when i run it it gives the error invalid conversion from 'char' to 'const char*' [-fpermissive] I've googled for a fix but have not found an answer that works.
Last edited on
closed account (Dy7SLyTq)
mvprintw(y, x, "%c", sTileIndex[nType].nCharacter)
Thanks DTSCode, I was worried after the first reply no body would answer
closed account (Dy7SLyTq)
Topic archived. No new replies allowed.