What member functions do the following in c++11? Show the usual parameters/argum
ID: 3838161 • Letter: W
Question
What member functions do the following in c++11? Show the usual parameters/arguments, if any: Opens a file in ofstream classes Opens a file in ifstream classes: Closes a file in ofstream classes: Checks to see if opening an input file failed in ifstream classes: Returns the position in the input file where you want to start reading in ifstream classes: Returns the position in the output sequence in ofstream classes: What member functions do the following in c++11? Show the usual parameters/arguments, if any: Opens a file in ofstream classes Opens a file in ifstream classes: Closes a file in ofstream classes: Checks to see if opening an input file failed in ifstream classes: Returns the position in the input file where you want to start reading in ifstream classes: Returns the position in the output sequence in ofstream classes: Opens a file in ofstream classes Opens a file in ifstream classes: Closes a file in ofstream classes: Checks to see if opening an input file failed in ifstream classes: Returns the position in the input file where you want to start reading in ifstream classes: Opens a file in ifstream classes: Closes a file in ofstream classes: Checks to see if opening an input file failed in ifstream classes: Returns the position in the input file where you want to start reading in ifstream classes: Returns the position in the output sequence in ofstream classes:Explanation / Answer
1. Opens a file in of stream class with following member functions..
Parameters:
filename-name of the file to open in string
mode-describing theinput/output mode for the file.
2.opening files using if stream classes with following member functions
Parameters functions same as the of stream classes parameters pls refer to that...
3. Close files in of stream associated classes using
Void close();
No arguments and it will not return anything...
4. The member function bool is_open() used to checks the file open is success or not...if the function returns false the file opening failed....
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.