I'm relearning c++. IO is giving me issues