🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #6313

Re: format question

#6313
From: Christian Lotze
Date: Wed, 25 May 2005 07:59
20 lines
1609 bytes
Remy Lebeau (TeamB) schrieb:
> "Karim" <Karim@noemail.com> wrote in message
> news:4292f5a8$1@newsgroups.borland.com...
> 
> 
>>is there any API to convert a string or an int to a specific format?
> 
> 
> The Win32 API has a wsprintf() function.

wich doesn't work with floating point numbers,
use sprintf, works also in windows.

Or use FmtStr, AnsiString::sprintf or similar formatting functions

> 
> Gambit
> 

Christian
Technical Details
Message-ID: <d71b9v$f04$00$1@news.t-online.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail
References: <4292f5a8$1@newsgroups.borland.com> <429363f0$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,3b7f7b4a56d80b10
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail
From: Christian Lotze <chrissi099@hotmail.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: format question
Date: Wed, 25 May 2005 09:59:58 +0200
Organization: T-Online
Lines: 20
Message-ID: <d71b9v$f04$00$1@news.t-online.com>
References: <4292f5a8$1@newsgroups.borland.com> <429363f0$1@newsgroups.borland.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.t-online.com 1117007999 00 15364 KUuyrO11eV1pVR5 050525 07:59:59
X-Complaints-To: usenet-abuse@t-online.de
X-ID: XdHh5yZQ8eGGKc7FMoTzfuTPXr9hXKZH-gmfgwY+Dhvn37-X0sYcob
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.7.5) Gecko/20041206 Thunderbird/1.0 Mnenhy/0.7
X-Accept-Language: de-DE, de, en-us, en
In-Reply-To: <429363f0$1@newsgroups.borland.com>