Passing a filestream

How would i go about setting up a value returning function that takes an infile as an input parameter??

T f(std::ifstream &fileStream)?
is the std:: required if i am using namespace std? thanks for the quick response ^_^
No.
Topic archived. No new replies allowed.