Date: Thu, 6 Oct 94 10:53:19 EDT From: peprbv AT cfa0 DOT harvard DOT edu (Bob Babcock) To: hodder AT geop DOT ubc DOT ca Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: Very strange behaviour! Please help! Reply-To: babcock AT cfa DOT harvard DOT edu > it works! And it works as I wanted it to. If I comment out the > printf... stuff then it will compile the same but crash. (SomeFunction() > doesn't print anything out.) This seems almost unbelievable - I can't imagine > why having a printf call can affect anything! One thing printf does on the first call is allocate some memory. So if you have a memory corruption problem, using printf may move the problem to a less obvious location.