Re: A89: Arrays in C


[Prev][Next][Index][Thread]

Re: A89: Arrays in C




Really?  I've tried to do that w/ Borland C++ in my CS class at school and
it didn't work.  When I asked my CS teacher, he said it was impossible...

-Miles Raymond      EML: m_rayman@bigfoot.com
ICQ: 13217756       IRC: Killer2        AIM: KilIer2 (kilier2)
http://www.bigfoot.com/~m_rayman/

----- Original Message -----
From: Robin Kirkman <misty@drrobin.yi.org>
To: <assembly-89@lists.ticalc.org>
Sent: Wednesday, October 27, 1999 12:47 PM
Subject: Re: A89: Arrays in C

> actually, what you are thinking of is this:
>
> int a[3];
>
> a[0]=9;
> a[1]=2;
> a[2]=7;
>
> and yes, you can instead do this:
>
> int a[]={9,2,7};
>
> --robin
>
> TurboSoft@aol.com wrote:
>
> > instead of doing this:
> > int a[0] = 9
> > int a[1] = 2
> > int a[2] = 7
> >
> > can l do something like this:
> > a[] = {9,2,7}
> >
> > or something similar, where vals. don't have to be inputed one at a time
into
> > an array?
> > --TurboSoft
> >
> > Visit the TURBOSOFT HOMEPAGE:  The most current Basic and C programs
created
> > by TurboSoft for the 89, and the most 89 web links.
> > <A HREF="http://turbosoft.ticalc.org/">http://turbosoft.ticalc.org/</A>



Follow-Ups: References: