Originally Posted by
ShotgunChimp
Am I doing something obviously wrong to cause this Access Violation?
Yes
Code:
#define North=0
#define East=1
#define South=2
#define West=3
#define SIZE=20
should be
Code:
#define North 0
#define East 1
#define South 2
#define West 3
#define SIZE 20
but your compiler obviously doesn't care about that.
Then there is still the out of bounds access of the Rooms array in SetupRooms().
Valid indexes in your case are 0 .. 14 ( not 1 .. 15 )
void main() is rather old fashioned.
Kurt