zettelkasten

File Streams

Last updated: 1/9/2025

In c++ streams are everywhere! This whole time, when you do:

#include <iostream>

and do std::cout and std::cin you are reading/writing to streams!

All of the operations with std::cout and std::cin you can do with fstreams!

ifstreams are input file streams ofstreams are output file streams

See Also

  1. [[computer-science]]