Path: chuka.playstation.co.uk!news From: "Rikki Prince" Newsgroups: scee.yaroze.beginners Subject: Re: integer to string Date: Sat, 26 Jun 1999 19:47:23 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 23 Message-ID: <7l3795$qpv25@chuka.playstation.co.uk> References: <7l2qan$qpv24@chuka.playstation.co.uk> NNTP-Posting-Host: th-gt141-042.pool.dircon.co.uk X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Do you have an array of ints? If so, then loop through the array of ints, and the equivalent char array element. The assignment would probably look like: char[counter] = ((char *)int[counter])+48; I'm not sure about the (char *) bit, but it will be either that or (char), but this could be sussed out with some simple testing. Why don't you post whatever code you've got to see where you're having problems? Rikki Matt Verran wrote in message news:7l2qan$qpv24@chuka.playstation.co.uk... > Hi, > > How to I convert an integer (int) to a string (*char)? I know that to > convert a single digit to a char you can add 48, but i'm having trouble > making a string. > > cheers//matt > >