I want to open a file for reading, the C++ way. I need to be able to do it for:
text files, which would involve some sort of read line function.
**#include //to use file #include //to use getline using namespace std; int main(){ ifstream file; string str; file.open("path the file" , ios::binary | ios::in); while(true){ getline(file , str); if(file.fail()) break; cout<