Click here to Skip to main content
15,907,281 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralProgrammantically finding the end in va_list Pin
Rainer Mangold9-Jun-01 2:55
Rainer Mangold9-Jun-01 2:55 
GeneralRe: Programmantically finding the end in va_list Pin
Tomasz Sowinski9-Jun-01 3:05
Tomasz Sowinski9-Jun-01 3:05 
GeneralRe: Programmantically finding the end in va_list Pin
Rainer Mangold9-Jun-01 9:52
Rainer Mangold9-Jun-01 9:52 
QuestionTo MFC or not ? Pin
fugee9-Jun-01 1:20
fugee9-Jun-01 1:20 
AnswerRe: To MFC or not ? Pin
Masaaki Onishi9-Jun-01 3:48
Masaaki Onishi9-Jun-01 3:48 
AnswerRe: To MFC or not ? Pin
yufu9-Jun-01 16:34
yufu9-Jun-01 16:34 
GeneralURGENT text-based parsing problem Pin
Amit Dey8-Jun-01 23:30
Amit Dey8-Jun-01 23:30 
GeneralRe: URGENT text-based parsing problem Pin
Igor Sukhov9-Jun-01 0:51
Igor Sukhov9-Jun-01 0:51 
Hi !

If it's acceptable for you to use ANSI C++, the solution is below:

#include <fstream>
#include <string>
#include <list>using namespace std;


int main()
{
ifstream inputfile("readme.txt");
istream_iterator<string> isi(inputfile), iseof;

list<string> ls;
copy(isi, iseof, back_inserter(ls));

return 0;
}


Best regards,

-----------
Igor Soukhov (Brainbench/Tekmetrics ID:50759)
igor_soukhov@yahoo.com | ICQ:57404554 | http://siv.da.ru
GeneralRe: URGENT text-based parsing problem Pin
Igor Sukhov9-Jun-01 0:54
Igor Sukhov9-Jun-01 0:54 
GeneralRe: URGENT text-based parsing problem Pin
Amit Dey9-Jun-01 4:58
Amit Dey9-Jun-01 4:58 
GeneralRe: URGENT text-based parsing problem Pin
9-Jun-01 1:27
suss9-Jun-01 1:27 
GeneralConvert ... Pin
Hadi Rezaee8-Jun-01 22:37
Hadi Rezaee8-Jun-01 22:37 
GeneralRe: Convert ... Pin
Igor Sukhov9-Jun-01 0:14
Igor Sukhov9-Jun-01 0:14 
GeneralRe: Convert ... Pin
Hadi Rezaee9-Jun-01 0:49
Hadi Rezaee9-Jun-01 0:49 
GeneralRe: Convert ... Pin
Igor Sukhov9-Jun-01 0:59
Igor Sukhov9-Jun-01 0:59 
GeneralRe: Convert ... Pin
Hadi Rezaee9-Jun-01 1:08
Hadi Rezaee9-Jun-01 1:08 
GeneralRe: Convert ... Pin
Igor Sukhov9-Jun-01 1:14
Igor Sukhov9-Jun-01 1:14 
GeneralRe: Convert ... Pin
Hadi Rezaee9-Jun-01 1:21
Hadi Rezaee9-Jun-01 1:21 
GeneralRe: Convert ... Pin
Igor Sukhov9-Jun-01 2:11
Igor Sukhov9-Jun-01 2:11 
GeneralRe: Convert ... Pin
Hadi Rezaee9-Jun-01 4:34
Hadi Rezaee9-Jun-01 4:34 
GeneralRe: Convert ... Pin
Christian Skovdal Andersen10-Jun-01 1:55
Christian Skovdal Andersen10-Jun-01 1:55 
GeneralRe: Convert ... Pin
Anders Molin9-Jun-01 4:36
professionalAnders Molin9-Jun-01 4:36 
GeneralRe: Convert ... Pin
Igor Sukhov9-Jun-01 5:17
Igor Sukhov9-Jun-01 5:17 
GeneralRe: Convert ... Pin
Igor Sukhov9-Jun-01 5:22
Igor Sukhov9-Jun-01 5:22 
GeneralRe: Convert ... Pin
9-Jun-01 5:29
suss9-Jun-01 5:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.