Loading Input/output (C++)