Article View: be.comp.programming
Article #14545String array
From: Ward Poelmans
Date: Sun, 28 Jan 2001 20:21
Date: Sun, 28 Jan 2001 20:21
13 lines
1400 bytes
1400 bytes
Ik heb een string gemaakt met : char string[32]; Nu wens ik een array van die string te maken. Maar de string is dan al gemaakt dus kan ik niet char string[x][32]; x is het aantal strings in die array. Hoe doe ik dat? Met malloc of realloc of zoiets? Ward. -- # On the requirements it said: Windows 98 or better - so I installed Linux # Red hat Linux 7.0 --- Kernel 2.2.16-22 on i586 9:19pm up 1:17, 3 users, load average: 1.04, 0.52, 0.40
Technical Details
Message-ID:
<3A747F4F.196D177@wol.be>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!newsfeeds.belnet.be!news.belnet.be!news.worldonline.be!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit X-Google-Thread: fcea4,70ae1e279efefa59,start X-Google-Attributes: gidfcea4,public X-Google-ArrivalTime: 2001-01-28 12:22:43 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!newsfeeds.belnet.be!news.belnet.be!news.worldonline.be!not-for-mail From: Ward Poelmans <Ward.Poelmans@wol.be> Newsgroups: be.comp.programming Subject: String array Date: Sun, 28 Jan 2001 21:21:35 +0100 Organization: Worldonline Belgium Lines: 16 Message-ID: <3A747F4F.196D177@wol.be> NNTP-Posting-Host: dp46-99.worldonline.be Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.worldonline.be 980713364 17604 212.233.46.99 (28 Jan 2001 20:22:44 GMT) X-Complaints-To: abuse@worldonline.be NNTP-Posting-Date: Sun, 28 Jan 2001 20:22:44 +0000 (UTC) X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.16-22 i586) X-Accept-Language: nl-BE, en