A function, called ReadVector(), which reads a vector of any size from a given file name, and returns the vector and its size to the caller. The function prototype is defined as follows:
void ReadVector(double V, int &size, ifstream infile);
thanks very much...
how to write this function???
i want an example of a code
the input file sample like this one
where (5) is the size...