Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!casbah.acns.nwu.edu!ftpbox!mothost!motcid!mostek From: mostek@motcid.UUCP (Frank B. Mostek) Newsgroups: comp.lang.c Subject: Re: Memor fault, Core dump Keywords: memory fault, coredump Message-ID: <7231@clear13.UUCP> Date: 28 May 91 18:31:35 GMT References: <1991May21.160406.20825@ux1.cso.uiuc.edu> Organization: Motorola Inc., Cellular Infrastructure Div., Arlington Heights, IL Lines: 19 nnj20229@uxa.cso.uiuc.edu (Nesha Nicole Jones) writes: >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 It would be easier if you included the piece of code. The strcat function sometimes causes problems. It assumes the destination address points to an area of memory that is big enough to hold the resulting concatenated data. Make sure that your destination is big enough to hold both the date and time. (Assuming that is all that you are ever concatenating.) Also, make sure that your parameters are correct to the print functions. Hope this helps. -- Frank Mostek uunet!motcid!amethyst!mostek (708)632-6965 mostek@amethyst.mot.com