April 7th, 2013, 07:18 AM
Thank you I will try that :)
April 7th, 2013, 06:46 AM
Sorry I don't realy understand what you trying to say me.
April 7th, 2013, 06:29 AM
I tried do like this:
ifstream fin("duom.txt");
while (!fin.eof()){
getline(fin, lin);
words.push_back(lin);
cout<<"What word you are looking for?"<<endl;
April 7th, 2013, 03:38 AM
How to save whole line in vector, is there a function for that?
April 7th, 2013, 02:25 AM
Hello, I have a text file where in each line is 3 words and 2 int type numbers. I'm doing search by word and I want to print out to the screen the whole line where that word was found (the words is...