From: horst DOT kraemer AT snafu DOT de (Horst Kraemer) Newsgroups: comp.os.msdos.djgpp Subject: Re: char[] to char* Date: Fri, 14 Aug 1998 09:18:57 GMT Organization: [Posted via] Interactive Networx Lines: 18 Message-ID: <35d3edc8.74906536@news.snafu.de> References: <199808121512 DOT LAA06994 AT mail DOT cgocable DOT net> <35D25A18 DOT C943F95F AT unb DOT ca> <35d26e61 DOT 14045785 AT news DOT rapidnet DOT net> <35D2F36B DOT D2DB0EC2 AT unb DOT ca> NNTP-Posting-Host: n163-169.berlin.snafu.de To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk On Thu, 13 Aug 1998 11:08:44 -0300, Endlisnis wrote: >> >char H[9];char* b; >> >b = &H[4]; >> or >> b = H + 4; > OK, but I am used to Borland, and that won't work there, but it does >work in DJGPP. It probabably won't work in Borland Pascal but it certainly works with every C compiler since K&R. Regards Horst