getline() 'Wrapper Function'

I have to construct a getline() function and I need it to be a wrapper function for the getline() function that already exists. Here's what i have so far...

1
2
3
4
5
6
istream& getline( istream& In, String& A, char B )
{
   char X[128];
   In.getline( X , 128, B );
   A = X;
}
Topic archived. No new replies allowed.