Which C++ file stream classes are used for writing and reading files?
Use std::ofstream for writing and std::ifstream for reading
std::ofstream
std::ifstream
Both classes work only with the console
Use std::ifstream for writing and std::ofstream for reading
Neither class opens or represents a file