Click here to Skip to main content
15,887,135 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: hi Pin
David Crow15-May-09 10:17
David Crow15-May-09 10:17 
AnswerRe: hi Pin
Mohammadj15-May-09 10:23
Mohammadj15-May-09 10:23 
QuestionRe: hi Pin
David Crow15-May-09 10:29
David Crow15-May-09 10:29 
AnswerRe: hi Pin
CPallini15-May-09 11:51
mveCPallini15-May-09 11:51 
GeneralRe: hi Pin
Mohammadj15-May-09 22:49
Mohammadj15-May-09 22:49 
QuestionReading a txt file fastly Pin
Raghav071015-May-09 5:09
Raghav071015-May-09 5:09 
AnswerRe: Reading a txt file fastly Pin
led mike15-May-09 5:15
led mike15-May-09 5:15 
AnswerRe: Reading a txt file fastly Pin
«_Superman_»15-May-09 5:17
professional«_Superman_»15-May-09 5:17 
You can get more speed if you're ready to use up more memory.
Read the entire file into a CString variable.
And then use CString::Tokenize to read each field.

The CString variable will use up enough memory to load the entire file.
Or you can logically divide the file into fixed size chunks and read one chunk at a time and do the same processing.

«_Superman
I love work. It gives me something to do between weekends.

AnswerRe: Reading a txt file fastly Pin
Stuart Dootson15-May-09 5:20
professionalStuart Dootson15-May-09 5:20 
AnswerRe: Reading a txt file fastly Pin
David Crow15-May-09 7:00
David Crow15-May-09 7:00 
AnswerRe: Reading a txt file fastly Pin
Joe Woodbury15-May-09 17:53
professionalJoe Woodbury15-May-09 17:53 
QuestionRe-assembling TCP/IP Packets Pin
Koolski15-May-09 5:02
Koolski15-May-09 5:02 
AnswerRe: Re-assembling TCP/IP Packets Pin
led mike15-May-09 5:12
led mike15-May-09 5:12 
GeneralRe: Re-assembling TCP/IP Packets Pin
Rick York15-May-09 5:59
mveRick York15-May-09 5:59 
AnswerRe: Re-assembling TCP/IP Packets Pin
Robert Surtees16-May-09 2:21
Robert Surtees16-May-09 2:21 
GeneralRe: Re-assembling TCP/IP Packets Pin
Koolski18-May-09 4:25
Koolski18-May-09 4:25 
QuestionDoes a Class having a message map need to be derived from CWnd ???? Pin
ForNow15-May-09 3:18
ForNow15-May-09 3:18 
AnswerRe: Does a Class having a message map need to be derived from CWnd ???? Pin
«_Superman_»15-May-09 5:11
professional«_Superman_»15-May-09 5:11 
GeneralRe: Does a Class having a message map need to be derived from CWnd ???? Pin
ForNow15-May-09 6:03
ForNow15-May-09 6:03 
GeneralRe: Does a Class having a message map need to be derived from CWnd ???? Pin
David Crow15-May-09 7:07
David Crow15-May-09 7:07 
GeneralRe: Does a Class having a message map need to be derived from CWnd ???? Pin
«_Superman_»15-May-09 20:36
professional«_Superman_»15-May-09 20:36 
GeneralRe: Does a Class having a message map need to be derived from CWnd ???? Pin
ForNow16-May-09 15:37
ForNow16-May-09 15:37 
QuestionRe: Does a Class having a message map need to be derived from CWnd ???? Pin
David Crow15-May-09 7:12
David Crow15-May-09 7:12 
AnswerRe: Does a Class having a message map need to be derived from CWnd ???? Pin
ForNow15-May-09 8:58
ForNow15-May-09 8:58 
QuestionHi.How to Include English dicitionary in visual c++ Pin
Sakthi.Gs :-)15-May-09 2:44
Sakthi.Gs :-)15-May-09 2:44 

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.