calling constructor crashes program?
This is driving me crazy. I'm making an rpg with an "other people" class. In order to init this class I need data from both the "player" and "map" classes, so I prototyped my constructor like this:
Code:
people_t(player_t,map_t);
This is the way my player constructor works (only it only has one param, map_t) and that works just fine. I figure that this should totally work, but for some reason the program quits on this line:
Code:
people_t people(player,map);
I attached the three offending files, people.h/cpp define the class and Eastman.cpp uses it. Does anybody know what might be causing this?