Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uwm.edu!ux1.cso.uiuc.edu!uxa.cso.uiuc.edu!nnj20229 From: nnj20229@uxa.cso.uiuc.edu (Nesha Nicole Jones) Newsgroups: comp.lang.c Subject: Memor fault, Core dump Summary: Could someone briefly explain the causes of coredumps and memorfaults Keywords: memory fault, coredump Message-ID: <1991May21.160406.20825@ux1.cso.uiuc.edu> Date: 21 May 91 16:04:06 GMT Sender: usenet@ux1.cso.uiuc.edu (News) Organization: University of Illinois at Urbana Lines: 18 I am having a small problem debugging a program of mine. I get a memory fault after a fprintf statement. I was trying to allow the user to input more than one line of information at a prompt. The program prints the printf statement and then then does the fprintf and then bombs with a memory fault. I know memory faults can be caused by a lot of things but I was wondering if you could point me in the correct direction for debugging it. also, I read in two values, a date and a time. I strcat the date and time together and the value for date is somehow changed to the 5th char in time ex. 09:45 date= 5 Any suggtestions about why this happens would also be helpfull. Thanks, NNJ