Message-ID: <3495D569.1FDD@compuserve.com> Date: Mon, 15 Dec 1997 20:12:09 -0500 From: Laurent Turcotte MIME-Version: 1.0 Subject: Re: Prog works only in debugging (!) References: <344B8C3A DOT 96239E8F AT LSTM DOT Ruhr-UNI-Bochum DOT De> <19971214030100 DOT WAA05923 AT ladder01 DOT news DOT aol DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Newsgroups: comp.os.msdos.djgpp Lines: 10 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hi Myknees > //copy is the name of the address of the first element: > char *copy; > copy[len]='\0'; //give copy string a terminal nul You should try to allocate memory for the copy string ! ;-) Regards Laurent Turcotte