Deutsch English Français Italiano |
<cf591dfbc9c5d55d4a94d72f22007169ce370e8d@i2pn2.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder8.news.weretis.net!news.neodome.net!rocksolid2!i2pn2.org!.POSTED!not-for-mail From: fir <fir@grunge.pl> Newsgroups: comp.lang.c Subject: Re: word on this example Date: Sat, 31 Aug 2024 17:56:25 +0200 Organization: i2pn2 (i2pn.org) Message-ID: <cf591dfbc9c5d55d4a94d72f22007169ce370e8d@i2pn2.org> References: <e3cda7cd9313843a1dd37873ced4c77c05e49745@i2pn2.org> <fe99853e9cf15dbc0ff7b672e332f5f5ce8e6478@i2pn2.org> <6f039aee572e4c6b51c907d031d2da2d58c9108b@i2pn2.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sat, 31 Aug 2024 15:56:28 -0000 (UTC) Injection-Info: i2pn2.org; logging-data="374795"; mail-complaints-to="usenet@i2pn2.org"; posting-account="+ydHcGjgSeBt3Wz3WTfKefUptpAWaXduqfw5xdfsuS0"; User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:27.0) Gecko/20100101 Firefox/27.0 SeaMonkey/2.24 In-Reply-To: <6f039aee572e4c6b51c907d031d2da2d58c9108b@i2pn2.org> X-Spam-Checker-Version: SpamAssassin 4.0.0 Bytes: 1870 Lines: 35 fir wrote: > fir wrote: >> >> point p = 2 3 >> >> d[p] same as d[2 3] > > if so the order of indexing also i guess must be different > > as point p = 200 10 is 200 in x and 10 in y it seem it must be > > d[200 10] not d[10][200] (the last one not conform to vector indexing) > the problem with ints d[100 100] is that "d[100 100]" is/would be element 100 100 and the the same look in definition with different meaning is not much good imo even ints a b c d(100 100) //defining int a int b int c and int d[100][100] would be probably better but im not sure if good ints tab(100) as an array definition? - im not sure it could be eventually something like ints a b c d`100`100 //or other symbol instead of ` eventually but also im not sure