Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!nstn.ns.ca!news.cs.indiana.edu!ux1.cso.uiuc.edu!maverick.ksu.ksu.edu!unlinfo.unl.edu!hoss!khawand From: khawand@hoss.unl.edu (Nancy Khawand) Newsgroups: comp.os.msdos.programmer Subject: HELP!!! - code executes different on same data Keywords: HELP Message-ID: <1991May23.131907.11319@unlinfo.unl.edu> Date: 23 May 91 13:19:07 GMT Sender: news@unlinfo.unl.edu Organization: University of Nebraska - Lincoln Lines: 19 Nntp-Posting-Host: hoss.unl.edu I am using MSC to write a macro interface to Harvard Graphics - no big deal. The problem however is that when I execute my code I get different results from the same data each time it is run. Sometimes the program works as I expect and sometimes it crashes the machine. Removing printf debug statments also seems to affect the outcome. I talked with MS and they said to recompile the program disabling all optimizations. When I do that, the programs doesn't work at all. Does anyone have any suggestions as to what to look for - I'm one lost sole on this one. -- Nancy Khawand Internet: khawand@hoss.unl.edu University of Nebraska - Lincoln Phone : (402) 472-5663 Computing Resource Center FAX : (402) 472-5280