#include<iostream> //i.o #include<cctype> //for isdigit #include<sstream> //to phrase string #include<string> #include <vector> #include <fstream> using namespace std; int main( void ) { std::string word; std::vector<std::string> file; std::ifstream in( "Files.txt" ); while ( in >> word ) file.push_back( word ); for ( size_t i=0; i<file.size(); i++ ) std::cout<< file.at(i) << '\n'; in.close(); return 0; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)