Question: 30) Before you can open a connection to a file stream, you must do three things: a) declare a vector of objects to store the
30) Before you can open a connection to a file stream, you must do three things:
a) declare a vector of objects to store the file contents
b) get from the user the name of their file
c) #include the library f stream
d) declare either an ifstream or an ofstream variable to connect the file with
e) declare a variable to count how many lines we've processed in the file.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
