View Single Post
Old 12-16-2003, 11:49 PM   #20 (permalink)
charliex
Junkie
 
Location: North Hollywood
theres a couple of small things i see so far, not likely to crash though,

in Simulate() it says
PHP Code:
  Event nextEvent;       // type of the next event
  
Initialize();
  
MakeTrace(nextEvent); 
nextEvent is not initialized before use, depending on which mode (and which compiler) you compile it, will depend on the contents of that variable, since its a stack and not a global. (non initialized globals are always guaranteed to be 0, local/stack are not)

also it should be fstream not fstream.h, you might be getting away with that on vc7/net i'm guessing.

need customer .h too and customer.cpp if there is one.
charliex is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73