#include <iostream> #include <fstream> int main(int argc, char **argv) { std::ifstream in(argv[1]); char c; while (in.get(c)) std::cout.put(c); }