Mail Archives: djgpp/1995/09/04/18:24:37
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!"
- Raw text -