Message-ID: <010f01be98da$97400400$88275da6@siegfried> From: "John L Meyer" To: References: Subject: Re: Using pointers Date: Fri, 7 May 1999 16:40:20 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Reply-To: djgpp AT delorie DOT com No, I don't think you can get around the static array limitation that way. In fact, you have to declare int pointers like this: int *myptr = new int[MAXBUFF]; Correct me if I'm wrong. I'm begging you. John Meyer USC Today Life & Leisure Editor e-mail: john_meyer AT geocities DOT com Of course, I have no evidence for this, but when has that stopped me before? ----- Original Message ----- From: GiovanniB Newsgroups: comp.os.msdos.djgpp To: Sent: Friday, May 07, 1999 1:14 AM Subject: Using pointers > > When I declare a pointer (i.e. int* myptr) it's possible to use it in > this way : > for(int i = 0; i < n; i++) > { > myptr[i] = somenumber; > } > where n is a number big than biggest int ? > > Thanks for help. >