#include <iostream> #include <fstream> #include <string> using namespace std; int main(int argc, const char *argv[]) { ifstream ifs {argv[1], ios::binary | ios::in | ios::ate}; string line; if (ifs) { while (getline(ifs, line)) { cout << line << endl; } } return 0; }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 15129 | zachwhaley | Add practice directory |