Article View: be.comp.programming
Article #3707Re: pointer naar table
From: Luc Kumps
Date: Wed, 12 Nov 2003 13:50
Date: Wed, 12 Nov 2003 13:50
23 lines
1613 bytes
1613 bytes
Toni Van Remortel wrote: > Besten, > > Lang geleden was mijn kennis van ANSI C wat beter dan nu. > Ik tracht het volgende te implementeren: > > int table_project[360][5]; > int table_calculate[360][5]; > > Dus 2 tabellen. Nu moet ik 2 vaste pointers hebben naar die tabellen: > > 133: int *project_table; > 134: project_table = &table_project; > typedef int tabletype[360][5]; tabletype table_project; tabletype table_calculate; tabletype *project_table; project_table = &table_project; (*project_table)[4][3] = 123; // Luc K
Technical Details
Message-ID:
<YUqsb.19601$D02.281661@phobos.telenet-ops.be>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.arcor-online.net!feed1.news.be.easynet.net!ossa.telenet-ops.be!phobos.telenet-ops.be.POSTED!not-for-mailReferences:
<pan.2003.11.12.12.42.57.56187@ha.be.invalid>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcea4,64ee87e359b9e07d X-Google-Attributes: gidfcea4,public X-Google-ArrivalTime: 2003-11-12 05:50:48 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.arcor-online.net!feed1.news.be.easynet.net!ossa.telenet-ops.be!phobos.telenet-ops.be.POSTED!not-for-mail From: "Luc Kumps" <NOkumpsSPAM@pandora.be> Newsgroups: be.comp.programming References: <pan.2003.11.12.12.42.57.56187@ha.be.invalid> Subject: Re: pointer naar table Lines: 25 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: <YUqsb.19601$D02.281661@phobos.telenet-ops.be> Date: Wed, 12 Nov 2003 13:50:48 GMT NNTP-Posting-Host: 213.118.64.185 X-Complaints-To: abuse@telenet.be X-Trace: phobos.telenet-ops.be 1068645048 213.118.64.185 (Wed, 12 Nov 2003 14:50:48 MET) NNTP-Posting-Date: Wed, 12 Nov 2003 14:50:48 MET Organization: Telenet Internet