From: happy303 AT hotmail DOT com (happy303) Newsgroups: comp.os.msdos.djgpp Subject: Re: question about Rhide Message-ID: <36801646.3604022@news.videotron.ca> References: <75on7n$q7o$1 AT fe2 DOT cs DOT interbusiness DOT it> X-Newsreader: Forte Free Agent 1.11/32.235 Lines: 51 Date: Tue, 22 Dec 1998 22:05:15 GMT NNTP-Posting-Host: 207.96.144.12 X-Complaints-To: abuse AT videotron DOT net X-Trace: weber.videotron.net 914364155 207.96.144.12 (Tue, 22 Dec 1998 17:02:35 EDT) NNTP-Posting-Date: Tue, 22 Dec 1998 17:02:35 EDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Tue, 22 Dec 1998 19:14:54 +0100, "Bonifati" wrote: Hmm you don't have to ask permission to try these things ;) Suppose i have this: int array[10]; I usually put a watch on "array" and things work out well. Try this and watch array :) see ya! void main(void) { int array[10]; int cc; cc=0; while(cc<10) { array[cc]=cc; //put a breakpoint here cc++; } cc=0; } >I'm an italian student. I have a question about RHIDE. Please answer. Thank >you ! > >How can I watch arrays? I now a pointer is equivalent to an array in C, >but if I want to see an array represented by a pointer variable, let's say >int *a; of 5 elements, I'm obliged to write (in the "Add to watch list" >box): > >a[0] >a[1] >a[2] >a[3] >a[4] > >Is there a shorter way? (When I define a static array, for example >int a[5], it is enough writing "a" in the Add to watch list box to watch >the array) > >Antonio Bonifati - Italy >abonifati AT telsa DOT it << my e-mail! > > > > > > >