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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how do i convert an int into an lpstr for use in a string 1

Status
Not open for further replies.

computerwhiz

Programmer
May 1, 2002
28
US
I need to use the number in my loop counter as part of a string to show the count in my status bar. but I cannot figure out how to convert my int variable into a lpstr variable for use.

I was thinking like this:

Code:
int Pages = 0;
lpstr Temp = &Pages;
 
try

_itoa();

that will convert a number to a string

Skute

"There are 10 types of people in this World, those that understand binary, and those that don't!"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top