What parameter does the constructor to an ofstream object take?
Answer / Dhiraj Pratap
The constructor for an ofstream object takes a character string as a parameter. This character string specifies the name of the file to which data will be written.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is a constructor initializer list and when we use constructor initializer list?
Write a program using shift_half( ) function to shift the elements of first half array to second half and vice versa.
What is pointer with example?
Hi i need to Acess a variable "int Intval" in the below mentioned code .How to Access it guys i am waiting for your reply
Can recursive program be written in C++?
Explain the use of virtual destructor?
What is abstraction in c++ with example?
What is the type of 'this' pointer? When does it get created?
What is c++ map?
Write bites in Turbo c++ Header ("Include") Files.
What is an associative container in c++?
What are smart pointers?