Alternative to ifstream?
I've been making a modification for a game called Half-Life. Basically it produces a dll that alters how the game runs. Anyway, my modification reads from some text files, and it does so by using ifstream. I think I heard that you shouldn't use ifstream, for some reason. Is this right? If so, what's the alternative? Or is it OK?
Of course you can use fstream. What argument was given against it?
There's nothing wrong with ifstream that I've heard of.
The alternatives would be the C functions: fopen(), fclose(), fread(), fwrite()... or calling OS specific functions directly, or using some third party functions like in Boost...