From: Erik Max Francis Newsgroups: comp.os.msdos.djgpp Subject: Re: array of pointers to strings, BC++, DJGPP and weird printing , behavior Date: Fri, 15 Nov 1996 23:05:11 -0800 Organization: Alcyone Systems Lines: 18 Message-ID: <328D67A7.DF666D3@alcyone.com> References: <567b72$crl AT news DOT ox DOT ac DOT uk> NNTP-Posting-Host: newton.alcyone.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp George Foot wrote: > You can > consider any pointer to be an array . . . Be careful with statements like this; it is not strictly true, and will actually get you in trouble in some cases. Arrays and pointers are similar in that you can apply the subscription operator [] an array or a pointer and they will behave similarly, provided the pointer is pointing to the first element of the array. There are difference between the two other than that, though. -- Erik Max Francis | max AT alcyone DOT com Alcyone Systems | http://www.alcyone.com/max/ San Jose, California | 37 20 07 N 121 53 38 W &tSftDotIotE | R^4: the 4th R is respect "But since when can wounded eyes see | If we weren't who we were"