C++ file operation instructions