delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/25/13:15:12

From: ams AT ludd DOT luth DOT se (Martin Str|mberg)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: conversion question
Date: 25 Dec 1998 17:32:25 GMT
Organization: University of Lulea, Sweden
Lines: 15
Message-ID: <760i79$57e$1@news.luth.se>
References: <01be301f$9a15ec40$LocalHost AT default>
NNTP-Posting-Host: queeg.ludd.luth.se
X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

=?iso-8859-1?Q?B=F6rje_Granberg?= (borje DOT granberg AT ebox DOT tninet DOT se) wrote:
: I've been working with DJGPP at home for about 4-5 month and now I have
: come to the problem that I dont know how to convert a INT to at CHAR*.=20
: I want the INT I to become a string so I can add a number, let's say =
: '123' to=20
: the string "Look on page " so it will be "Look on page 123".

You need to discover the printf family of functions.

Turn off the html, please.


New Model Army, Small Town England,

							MartinS

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019