Debugging : weird error, crashes at cin.getline. everything was working before