[LCP]question

subin jose scorpiosubin at hotmail.com
Wed Mar 3 01:34:47 UTC 2004



thanx very much


>From: "Sameer Oak" <sameer.oak at mahindrabt.com>
>Reply-To: linuxcprogramming at lists.linux.org.au
>To: <linuxcprogramming at lists.linux.org.au>
>Subject: RE: [LCP]question
>Date: Tue, 2 Mar 2004 13:36:37 +0530
>
>sprintf() as follows:
>
>..
>char *str;
>{
>  char tmp[21];
>  long long dummy=1234567890;
>  sprintf(tmp,"%ll",dummy);
>  str=(char *)malloc(strlen(tmp)+1);
>  strcpy(str,tmp);
>}
>..
>
>-
>sam.
>
>-----Original Message-----
>From: linuxcprogramming-admin at lists.linux.org.au
>[mailto:linuxcprogramming-admin at lists.linux.org.au]On Behalf Of subin
>jose
>Sent: Tuesday, March 02, 2004 10:04 AM
>To: linuxcprogramming at lists.linux.org.au
>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
>
>*********************************************************
>Disclaimer
>
>This message (including any attachments) contains
>confidential information intended for a specific
>individual and purpose, and is protected by law.
>If you are not the intended recipient, you should
>delete this message and are hereby notified that
>any disclosure, copying, or distribution of this
>message, or the taking of any action based on it,
>is strictly prohibited.
>
>*********************************************************
>Visit us at http://www.mahindrabt.com
>
>
>
>_______________________________________________
>This is the Linux C Programming List
>:  http://lists.linux.org.au/listinfo/linuxcprogramming List

_________________________________________________________________
Take a loan. Win great prizes! Handsome prizes to be won!  Take a loan & win 
TV, Fridge & many more prizes ! http://go.msnserver.com/IN/44044.asp




More information about the linuxCprogramming mailing list