From: Martin DOT Stromberg AT lu DOT erisoft DOT se (Martin Stromberg) Newsgroups: comp.os.msdos.djgpp Subject: Re: How to do gcvt? Date: 16 Feb 1998 17:42:32 GMT Organization: Ericsson Erisoft AB, Sweden Lines: 13 Message-ID: <6c9tq8$9bn$2@antares.lu.erisoft.se> References: <19980215174101 DOT MAA20227 AT ladder02 DOT news DOT aol DOT com> NNTP-Posting-Host: juno.lu.erisoft.se To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk KillFerFun (killferfun AT aol DOT com) wrote: : How do you do a integer to char conversion in DJGPP? I tried to use gcvt (a : Borland function) but it didn't work. Any help appreciated... Well it depends on what you mean. One variant would be "char c = (char) one_int;". Another one, "char c = one_int + '0';". There are surely other variants as well. Look, no error checking, MartinS