| delorie.com/archives/browse.cgi | search |
| Message-ID: | <3495D569.1FDD@compuserve.com> |
| Date: | Mon, 15 Dec 1997 20:12:09 -0500 |
| From: | Laurent Turcotte <lturcott AT compuserve DOT com> |
| 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> |
| Newsgroups: | comp.os.msdos.djgpp |
| Lines: | 10 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |