Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Display an int

Status
Not open for further replies.

nerram

Programmer
Apr 23, 2003
56
IE
Simple question.
How do you display an int.

int MyInt=5;
CDialog::MessageBox(MyInt);
 
transform your int to a CString


CString x;
x.format("%d", yourInt);
MessageBox(x ...

Ion Filipski
1c.bmp

ICQ: 95034075
AIM: IonFilipski
filipski@excite.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top