Hi,
Can anyone tell me how to print a file name from ifstream?
the following cout code does not print the filename I created with
ifstream preivous:
ifstream is;
is.open ("text.txt") ;
cout << "filename in ifstream: " << is << endl;
Sam.
Can anyone tell me how to print a file name from ifstream?
the following cout code does not print the filename I created with
ifstream preivous:
ifstream is;
is.open ("text.txt") ;
cout << "filename in ifstream: " << is << endl;
Sam.
Comment