Is there a standard function in c++ that can perform file inputs like ifstream does but without invoking any of the stream state libraries. Similar to how printf performs text outputs without using ostream objects like cout.
I'm wondering because I need to open a file within a class member function with an ifstream object as its parameter, and I'm getting all sorts of weird errors that I don't understand. So, I'm wondering if there is another way to do it without invoking a library file.