Hello. I need to open multiple (text) files one by one and I thought to generate their names and use the streams to read from them.
"FileName" is a string (not char[], string) and is generated manually. To read from file I used the extraction operator >> but it just doesn't read. and in the debugger, at the "watch variables" window it says <incomplete type> for the fin object.
What more should I add?
Code:
const char* FIN = FileName.c_str(); ifstream fin(FIN, ios::in | ios::binary );
What more should I add?
Comment