#include <iostream>
#include <vector>
#include <string>
#include <fstream>
using std::cout;
using std::endl;
using std::vector;
using std::string;
int main()
{
vector<string> vec;
std::ifstream in("d:\\data.txt");
string word;
while (in >> word)
vec.push_back(word);
in.close();
for (string val : vec)
cout << val << endl;
return 0;
}
/*
run:
python
java
c#
php
c++
*/