How to avoid if fstream opens a directory (infinite loop)? If the filename below is a directory, then the following loop goes to infinite. std::ifstream ...
This user does not accept Private Messages