How should a C++ program open students.txt for writing?
students.txt
Create a std::ofstream for students.txt
std::ofstream
Open an arbitrary binary file with an unrelated name
Create a std::ifstream for students.txt
std::ifstream
Use only std::cout and never open a file
std::cout