Main Page | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals

itoa.h

Go to the documentation of this file.
00001 /*
00002 ** itoa(i,a,r)
00003 **      transforms integer i into an ascii string
00004 **      and stores the result in a; string is encoded
00005 **      in the base indicated by r.
00006 **      Returns a
00007 **
00008 **  Usage: 
00009 **         char buffer[65],
00010 **              *p_buff;
00011 **
00012 **         p_buff = itoa(100,buffer,10);  // decimal 
00013 **         printf("Decimal: %s\n",p_buff);
00014 **
00015 **         p_buff = itoa(255,buffer,2);    // binary
00016 **         printf("Binary: %s\n",p_buff);
00017 **
00018 **         p_buff = itoa(666,buffer,16); // hex 
00019 **         printf("Hex: %s\n",p_buff);
00020 **         
00021 */
00022 
00023 char *itoa(int, char *, int);
00024 
00025 char *_itoa(unsigned, char *, unsigned);

Generated on Fri Dec 5 04:05:59 2003 for Borqueror by doxygen 1.3.3