Chapter 5 Quiz Starting Out With C++ 034

Reading and Writing files in C++.  Is this how you set up a file for output in C++?

ofstream outFile;
outFile.open("Sales.txt");

a. true
b. false

No comments:

Post a Comment