hello everybody
This is my first time here. I am working on a class project on class template. i have to give member function definition. Plz help me i am not able to understand what i am suppose to do. Plz give me some hints or explanation about it.Member function is
bool readFromFile(char *fileName)-> read data of type t from the file named 'filename',and store the data into the array.Returns true if reading was successful,false otherwise.
and i have one more member function
bool printIntoFile(char *fileName)->dump the contents of the array into a file named 'filename'.Return true if writing was succesful, false otherwise.
This is my first time here. I am working on a class project on class template. i have to give member function definition. Plz help me i am not able to understand what i am suppose to do. Plz give me some hints or explanation about it.Member function is
bool readFromFile(char *fileName)-> read data of type t from the file named 'filename',and store the data into the array.Returns true if reading was successful,false otherwise.
and i have one more member function
bool printIntoFile(char *fileName)->dump the contents of the array into a file named 'filename'.Return true if writing was succesful, false otherwise.