🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #5642

Re: Delphi en C

#5642
From: KLinZ
Date: Mon, 17 Mar 2003 22:09
30 lines
1828 bytes
Jawade wrote:
> In article <slrnb7ceel.2m5c.marcov@toad.stack.nl>,
> marcov@toad.stack.nl 
> says...
>> In article <Bqqda.16468$Vq.1306@afrodite.telenet-ops.be>, Ivan Van
>> den Bossche wrote: 
>>> Hi,
>>> 
>>> Als ik de volgende code in Delphi schrijf:
>>> 
>>> strBuf:array[0..5] of char;
>>> 
>>> Wat is deze code in C?
>> 
>> char strBuf[6];
> 
> Moet toch char strBuf[5]; zijn?

Nee. strBuf[6] reserveert 6 elementen, weten:

strBuf[0];
strBuf[1];
strBuf[2];
strBuf[3];
strBuf[4];
strBuf[5];


-- 
www.zenobits.com
Technical Details
Message-ID: <TKrda.14436$oe.22562@amstwist00>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.multikabel.nl!amsnews01.chello.com!amstwist00.POSTED!not-for-mail
References: <Bqqda.16468$Vq.1306@afrodite.telenet-ops.be> <slrnb7ceel.2m5c.marcov@toad.stack.nl> <MPG.18e05f5444f3cdfb989746@news.nl.net>

Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit
X-Google-Thread: 107324,679d0f365a2c46e6
X-Google-Attributes: gid107324,public
X-Google-Thread: fcea4,679d0f365a2c46e6
X-Google-Attributes: gidfcea4,public
X-Google-ArrivalTime: 2003-03-17 14:12:06 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.multikabel.nl!amsnews01.chello.com!amstwist00.POSTED!not-for-mail
From: "KLinZ" <klinz@NOSPAMzenobitsSPAMNO.com>
Newsgroups: be.comp.programming,nl.comp.programmeren
References: <Bqqda.16468$Vq.1306@afrodite.telenet-ops.be> <slrnb7ceel.2m5c.marcov@toad.stack.nl> <MPG.18e05f5444f3cdfb989746@news.nl.net>
Subject: Re: Delphi en C
Lines: 31
MIME-Version: 1.0
Content-Type: text/plain;
 charset="Windows-1252"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Message-ID: <TKrda.14436$oe.22562@amstwist00>
Date: Mon, 17 Mar 2003 23:09:28 +0100
NNTP-Posting-Host: 212.187.71.152
X-Complaints-To: abuse@chello.nl
X-Trace: amstwist00 1047939123 212.187.71.152 (Mon, 17 Mar 2003 23:12:03 MET)
NNTP-Posting-Date: Mon, 17 Mar 2003 23:12:03 MET