Message-ID: <35111857.11BC9D3@mail.ucsm.edu.pe> Date: Thu, 19 Mar 1998 08:06:32 -0500 From: rpinnell AT characato DOT ucsm DOT edu DOT pe Reply-To: rpinnell AT characato DOT ucsm DOT edu DOT pe MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: Pointers and DJGPP References: <199803190555 DOT VAA19201 AT adit DOT ap DOT net> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Precedence: bulk Nate Eldredge escribió: > At 04:42 3/18/1998 -0500, rpinnell AT characato DOT ucsm DOT edu DOT pe wrote: > >Hi I have been trying to teach myself C for the last few months or so > >and have been using DJGPP. I seem to be having a lot of problems > >whenever I use pointers with DJGPP. Take the following example a simple > >strcat. Thanks to John, Terry and Nate who answered this question and explained my mistake so clearly. > [> Any advice would be aprreciated. My apologies if > >this is the wrong place to ask this question but it seems to me it is > >more a DGJPP/DOS question that a general C one. > > It isn't. Many system will report illegal operations like this. These are > general C questions and should be asked on a comp.lang.c newsgroup. Well sorry it was a general C question after all but is it possible to enable something in DJGPP to detect errors like this and give a warning on compilation.Richard Pinnell Arequipa Peru