C++ · Files and streams

Writing a file

A program's output vanishes when the window closes; a file keeps it, as long as you know what opening one does to what was there.