p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   C++ Programming (http://p2p.wrox.com/forumdisplay.php?f=89)
-   -   Converting Int -> ASCII (http://p2p.wrox.com/showthread.php?t=58673)

silaros June 3rd, 2007 11:24 AM

Converting Int -> ASCII
How can i convert an Int value to its own ASCII symbol?

for example i have:

int i=33;

and now i need to transform i into ASCii symbol;


rick84 June 5th, 2007 01:12 AM

there's nothing special all u have to do is to typecast the int data type into char data type
int i = 33;
The above statement would do the trick for you.

All times are GMT -4. The time now is 12:29 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.