DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Game Development (http://www.daniweb.com/forums/forum71.html)
-   -   Pdcurses help (http://www.daniweb.com/forums/thread160878.html)

idontexist Dec 5th, 2008 10:09 am
Pdcurses help
 
I am trying to update my roguelike game, 'Get Out!!'. I have one simple question. How do I print an int at an xy coordinate using pdcurses and c++. i only know how to print char and const char[].
Thank you

Salem Dec 5th, 2008 1:26 pm
Re: Pdcurses help
 
Convert to a string using say sprintf(c) or stringstream(c++)
Then output the string as you know how to.


All times are GMT -4. The time now is 3:27 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC