void Stage::initialize(){ vector<int> area; FileStream::load("data/data.dat", area); stringstream ss; ss << area[1] + 1; initID(); initMap(ss.str()); }
int main() { int i; Member* list; Member* listBackUp; char input; list = (Member*)malloc(sizeof(Member)*MAX); listBackUp = (Member*)malloc(sizeof(Member)*MAX); for (i = 0; i < MAX; i++) listBackUp[i] = list[i]; initID(list); dataInput(list); for (i = 0; i < MAX; i++) listBackUp[i] = list[i]; // 저장 취소시 출력할 리스트 백업 mainPage(list); _Exit(list, listBackUp); return 0; }
void Stage::initialize(){ current_map = 1; initID(); initMap(); }