🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #1446

Re: Printf: vaste lengte strings en ints?

#1446
From: Suzan Foster
Date: Thu, 03 Mar 2005 15:57
11 lines
1545 bytes
moi wrote:

> Is wel erg paranoide, IMO, om rekening te houden met andere sizes.
> En onsmakelijk om daar een cast voor te gebruiken.
> Een int is een int. een "%d" of "%i" verwijst naar een int in de 
> arglist, ongeacht zijn/haar sizeof.

gezien de printf familie niet typesafe is kan de %d of %i overal naar 
wijzen.

groetjes, su.
Technical Details
Message-ID: <422733ed$0$43127$e4fe514c@news.xs4all.nl>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!fr.ip.ndsoftware.net!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!131.211.141.196.MISMATCH!humbolt.nl.linux.org!news.nl.linux.org!transit.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
References: <M5qdnYvpZutbs7nfRVnyjA@scarlet.biz> <d01i4u.14c.1@news.isolution.nl> <CqudnXnc_MjnCbjfRVnyhg@casema.nl>

Show Full Headers
Complete Article Headers
X-Google-Thread: fcea4,f962124bbb04ff22
X-Google-Thread: 107324,f962124bbb04ff22
X-Google-Attributes: gidfcea4,gid107324,public
X-Google-Language: DUTCH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!fr.ip.ndsoftware.net!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!131.211.141.196.MISMATCH!humbolt.nl.linux.org!news.nl.linux.org!transit.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Date: Thu, 03 Mar 2005 16:57:43 +0100
From: Suzan Foster <http://members.home.nl/foz/foaf.rdf>
User-Agent: Mozilla Thunderbird 0.8 (Macintosh/20040913)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: be.comp.programming,nl.comp.programmeren
Subject: Re: Printf: vaste lengte strings en ints?
References: <M5qdnYvpZutbs7nfRVnyjA@scarlet.biz> <d01i4u.14c.1@news.isolution.nl> <CqudnXnc_MjnCbjfRVnyhg@casema.nl>
In-Reply-To: <CqudnXnc_MjnCbjfRVnyhg@casema.nl>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 11
Message-ID: <422733ed$0$43127$e4fe514c@news.xs4all.nl>
NNTP-Posting-Host: 80.127.57.53
X-Trace: 1109865453 news.xs4all.nl 43127 [::ffff:80.127.57.53]:10716
X-Complaints-To: abuse@xs4all.nl