Date: Mon, 4 Sep 1995 12:37:42 +22305931 (WAUST) From: Ron Grunwald Sender: Ron Grunwald Reply-To: Ron Grunwald Subject: Re: Crash with strcpy under windows To: Laurent-Pierre Gilliard Cc: djgpp AT sun DOT soe DOT clarkson DOT edu On 30 Aug 1995, Laurent-Pierre Gilliard wrote: > Using strcpy (strcpy(file,"C:\\test.txt")) makes a crash when running > from windows. I include std.h. So why???? > > I hope you defined 'file' as char file[80]; /*for example*/ and not: char* file; Ron. ******************************************************************** | Author.............. Ron Grunwald | | Internet............ rgrunwal AT bluering DOT cowan DOT edu DOT au | | Phone............... (09)273 8027 or (09)273 8468 | |------------------------------------------------------------------| | Department.......... Computer Operations and Systems Management | | Division/Faculty.... Information Technology | | Institute........... Edith Cowan University, Churchlands | | Location............ Perth, Western Australia | ******************************************************************** "I don't have any solution but I certainly admire the problem!"