1234567
ifstream input("someFile"); std::string temp; while(1) { input >> temp; std::cout << temp << std::endl; }
#include <fstream>