[LCP]question

martink martink at zaefod.com
Tue Mar 2 14:00:02 UTC 2004


Simple, sprintf

e.g.

char charArray[100];
int theVariable = 2028464;
sprintf(charArray, "%d", theVariable);

Regards,

Martin.

---------- Original Message -----------
From: "subin jose" <scorpiosubin at hotmail.com>
To: linuxcprogramming at lists.linux.org.au
Sent: Tue, 02 Mar 2004 10:03:30 +0530
Subject: [LCP]question

> how do you convert an integer value to a char in c?
> 
> plz help
> 
> subin
> 
> _________________________________________________________________
> Easiest Money Transfer to India. Send Money To 6000 Indian Towns. 
> http://go.msnserver.com/IN/42198.asp Easiest Way To Send Money Home!
> 
> _______________________________________________
> This is the Linux C Programming List
> :  http://lists.linux.org.au/listinfo/linuxcprogramming List
------- End of Original Message -------




More information about the linuxCprogramming mailing list