Message-ID: <001c01be5764$722f4840$91f9c6c3@johans-dator> From: "Johan Henriksson" To: Subject: Re: int to char Date: Sat, 13 Feb 1999 16:20:43 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Reply-To: djgpp AT delorie DOT com from Johan Henriksson, Sweden HTTP://come.to/jhewok | Primary mail: johan DOT he AT telia DOT com #UIN 12035895 Second: jhe75 AT hotmail DOT com Third: johan_he AT yahoo DOT com Leadprogrammer and FX-specialist at Real software http://come.to/real_software ************************************************************************* -----Original Message----- From: Rami Yohay To: djgpp AT delorie DOT com Date: Saturday, February 13, 1999 4:15 PM Subject: int to char >Can I convert int to char in DJGPP? Get a book in C!! Oh well, I wont let you go without an answer: C converts between different length of numbers automaticly. As char is an ordinary integer, you can threat it as an integer and hence do a char_num=int_num; without any problem.