I have two classes;
A::read_data1(fstream & in)
//reading data "here i use vector to store data"
Now my problem is, I want use the first class member function into second class member function as following,
void get_result(fstream &);
void out_result(fstream &);
Please tell me how can I do this?
B::get_result(fstream & in)
//.......reading data(directly use class A member funtion here)
B::out_result(fstream & out)
//.......writing data (directly use class A member function here)
Thanks in advance!