Message-ID: <002401bdfe1f$050b2660$446195cc@uic> From: "Andrew Deren" To: Subject: Re: conversion int-->string Date: Thu, 22 Oct 1998 19:49:30 -0500 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 I think that question was already asked here many times. (Maybe it should go into some FAQ?) You use sprintf function to do that: char buffer[SIZE]; sprintf(buffer, "%d", value); -----Original Message----- From: LupusNoctus Newsgroups: comp.os.msdos.djgpp To: djgpp AT delorie DOT com Date: Thursday, October 22, 1998 1:00 PM Subject: conversion int-->string >How does one go about putting the value of an int variable into a >string variable? it's not str dummy=intvar; that gives ascii value. >