Article View: be.comp.programming
Article #3044Re: integer achter STL string plakken
From: Serve Laurijssen
Date: Thu, 29 Jan 2004 08:23
Date: Thu, 29 Jan 2004 08:23
15 lines
1563 bytes
1563 bytes
"Jo Vermeulen" <jo@lumumba.luc.ac.be> wrote in message news:bv8spp$g9g$1@reader11.wxs.nl... > int num = 5; > char buff[80]; > string output = ""; > > sprintf( buff, "%d", num ); > output += buff; > --- > > De code moet werken op zowel UNIX als Windows, dus niet-standaard functies > zoals "itoa(...)" zijn uitgesloten. Typisch, atol, atof enz zijn wel standaard maar andersom niet.
Technical Details
Message-ID:
<Vl3Sb.334824$_x2.794929@zonnet-reader-1>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!fr.ip.ndsoftware.net!news.completel.fr!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news.cambrium.nl!news.cambrium.nl!news.cambrium.nl!zonnet-feed!zonnet-reader-1.POSTED!not-for-mailReferences:
<bv8spp$g9g$1@reader11.wxs.nl>Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit X-Google-Thread: 107324,febe8607f149dc5b X-Google-Attributes: gid107324,public X-Google-Thread: fcea4,febe8607f149dc5b X-Google-Attributes: gidfcea4,public X-Google-ArrivalTime: 2004-01-29 00:19:02 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!fr.ip.ndsoftware.net!news.completel.fr!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news.cambrium.nl!news.cambrium.nl!news.cambrium.nl!zonnet-feed!zonnet-reader-1.POSTED!not-for-mail From: "Serve Laurijssen" <cs@nospam.comp.com> Newsgroups: be.comp.programming,nl.comp.programmeren References: <bv8spp$g9g$1@reader11.wxs.nl> Subject: Re: integer achter STL string plakken Lines: 17 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: <Vl3Sb.334824$_x2.794929@zonnet-reader-1> Date: Thu, 29 Jan 2004 09:23:37 +0100 NNTP-Posting-Host: 62.166.10.220 X-Complaints-To: abuse@zonnet.nl X-Trace: zonnet-reader-1 1075364341 62.166.10.220 (Thu, 29 Jan 2004 09:19:01 MET) NNTP-Posting-Date: Thu, 29 Jan 2004 09:19:01 MET