Re: word on this example

Liste des GroupesRevenir à cl c  
Sujet : Re: word on this example
De : fir (at) *nospam* grunge.pl (fir)
Groupes : comp.lang.c
Date : 31. Aug 2024, 17:56:25
Autres entêtes
Organisation : i2pn2 (i2pn.org)
Message-ID : <cf591dfbc9c5d55d4a94d72f22007169ce370e8d@i2pn2.org>
References : 1 2 3
User-Agent : Mozilla/5.0 (Windows NT 5.1; rv:27.0) Gecko/20100101 Firefox/27.0 SeaMonkey/2.24
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

Date Sujet#  Auteur
29 Aug 24 * word on this example5fir
29 Aug 24 +- Re: word on this example1fir
31 Aug 24 `* Re: word on this example3fir
31 Aug 24  `* Re: word on this example2fir
31 Aug 24   `- Re: word on this example1fir

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal