Hi there!
I'm new to c++ and I'm having problems with ifstream. I assume that my question is pretty stupid but here you go:
I've got something like:
ifstream infile(inname);
Furthermore I do have an array - let's call it Array - which contains several filenames I want to choose one from. With wrong synthax I want:
ifstream infile(Array[5]);
But as I figured - that doesn't work as ifstream seems to expect char as input.
Can you show me the direction here?
Thanks