Contact: aviboots(AT)netvision.net.il
40,764 questions
53,140 answers
573 users
#include <iostream> #include <fstream> using std::cout; using std::endl; using std::ifstream; int main() { ifstream ifs("d:\\data.txt"); cout << ifs.rdbuf() << endl; ifs.close(); return 0; } /* run: c c++ c# java php python */