Pdcurses help

Thread Solved

Join Date: Oct 2008
Posts: 8
Reputation: idontexist is an unknown quantity at this point 
Solved Threads: 0
idontexist idontexist is offline Offline
Newbie Poster

Pdcurses help

 
0
  #1
Dec 5th, 2008
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
Last edited by idontexist; Dec 5th, 2008 at 10:10 am.
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,850
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 749
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: Pdcurses help

 
0
  #2
Dec 5th, 2008
Convert to a string using say sprintf(c) or stringstream(c++)
Then output the string as you know how to.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC