Discussion Locked

INTEGER TO CHARACTER CONVERSION

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
HOW DO U CONVERT AN INTEGER RO A CHARACTER WITHOUT USING THE MEMBER FUNCTION IN C++?

5 replies

by kumar_nh

Hi,
Well there are numerous library functions that are available. You could use for eg:- 'toascii()' function. Or more simple one is(presuming it is not an arry),

int x;
char a;
a=(char)x;
would also do. If it's an array, then there is 'itoa()' function

Regards
Kumar.

by carquiza

Hi,

Will this be a solution?
Dim Number as Integer
Dim Text as String
Dim Number or Text as Variant

Please tell me if these code also make sense.

Cheers,

Mel Arquiza
Home Page Design
http://hpd.welcome.to

This discussion is closed to new replies.