Xref: utzoo comp.sys.ibm.pc:31896 comp.lang.c:20062 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!cica!tut.cis.ohio-state.edu!dsacg1!dcscg1!drezac From: drezac@dcscg1.UUCP (Duane L. Rezac) Newsgroups: comp.sys.ibm.pc,comp.lang.c Subject: C program won't run by itself Keywords: C, QuickC Message-ID: <538@dcscg1.UUCP> Date: 20 Jul 89 18:08:09 GMT Distribution: usa Organization: Defense Construction Supply Center, Columbus Lines: 27 I have run into a problem with a C program that has totaly stumped me (That's not too hard, as I'm still new at C :-) System: Z-248 running Quick-C v.2.0 The Program is using the Bplus indexing routines and PC-Curses . When the program is run under Quick-c, it runs fine. When I try to run it from DOS, It will lock up at the same point each time. No errors show on the compile, and CCheck gives it a clean bill of health. This program is a sorting program, indexing a 400-500k file and comparing it to another 400-500k file, the writing the difference to another file. I suspect that the problem may be caused by a difference in the way quick-c allocates memory for a running program as opposed to DOS, but I'm really not sure. Any Suggestions ? Duane L. Rezac -- +-----------------------+---------------------------------------------------+ | Duane L. Rezac |These views are my own, and NOT representitive of my place| | dsacg1!dcscg1!drezac drezac@dcscg1.dcsc.dla.mil of Employment. | +-----------------------+---------------------------------------------------+