Article View: be.comp.programming
Article #14612Re: int -> string
From: Armin Gerritsen
Date: Fri, 26 Jan 2001 12:10
Date: Fri, 26 Jan 2001 12:10
24 lines
1545 bytes
1545 bytes
>> atoi(Temp,T,10); strcat(String,Temp); printf("%s",String);
>heu .. atoi zet een string om in een integer. enne waar haalt uw atoi
>drie argumenten vandaan?
HP UNIX:
atoi(str) is equivalent to int strtol(str, (char **)NULL, 10).
Mischien dat er daarom andere implementaties zijn.
Armin
--
Philips Semiconductors B.V.
Systems Laboratory Eindhoven (PS-SLE)
Tools:
http://www.phys.uu.nl/~gerritsn/download.html
--
(To reply remove DELETE from adres.)
Technical Details
Message-ID:
<94rpol$dcc$1@porthos.nl.uu.net>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!newsgate.cistron.nl!news.tele.dk!195.158.233.21!news1.ebone.net!news.ebone.net!newsfeed2.news.nl.uu.net!sun4nl!not-for-mailReferences:
<3A7088CB.83064181@wol.be> <MT0c6.256903$8r2.4824958@nlnews00.chello.com> <94rc5f$mfh$1@inf6serv.rug.ac.be>Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit X-Google-Thread: fcea4,f33637d511d69c1a X-Google-Attributes: gidfcea4,public X-Google-ArrivalTime: 2001-01-26 04:15:18 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!newsgate.cistron.nl!news.tele.dk!195.158.233.21!news1.ebone.net!news.ebone.net!newsfeed2.news.nl.uu.net!sun4nl!not-for-mail From: "Armin Gerritsen" <armin.gerritsen@philips.DELETE.com> Newsgroups: be.comp.programming Subject: Re: int -> string Date: Fri, 26 Jan 2001 13:10:12 +0100 Organization: UUNET-NL (http://www.nl.uu.net) Lines: 27 Message-ID: <94rpol$dcc$1@porthos.nl.uu.net> References: <3A7088CB.83064181@wol.be> <MT0c6.256903$8r2.4824958@nlnews00.chello.com> <94rc5f$mfh$1@inf6serv.rug.ac.be> NNTP-Posting-Host: gw-ehv03.pnl.philips.com X-Trace: porthos.nl.uu.net 980511317 13708 212.153.190.3 (26 Jan 2001 12:15:17 GMT) X-Complaints-To: abuse@nl.uu.net NNTP-Posting-Date: 26 Jan 2001 12:15:17 GMT X-Newsreader: Microsoft Outlook Express 4.72.3612.1700 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700