Click here to Skip to main content
15,917,642 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Debug without other threads stopped! Pin
reza matinnejad14-Feb-07 20:34
reza matinnejad14-Feb-07 20:34 
GeneralRe: Debug without other threads stopped! Pin
Waldermort14-Feb-07 22:52
Waldermort14-Feb-07 22:52 
GeneralRe: Debug without other threads stopped! Pin
reza matinnejad14-Feb-07 22:57
reza matinnejad14-Feb-07 22:57 
GeneralRe: Debug without other threads stopped! Pin
Waldermort14-Feb-07 23:12
Waldermort14-Feb-07 23:12 
QuestionSeekg problem in text file? [modified] Pin
Vishvanathan14-Feb-07 19:33
Vishvanathan14-Feb-07 19:33 
AnswerRe: Seekg problem in text file? Pin
kakan14-Feb-07 23:48
professionalkakan14-Feb-07 23:48 
GeneralRe: Seekg problem in text file? Pin
Vishvanathan15-Feb-07 0:09
Vishvanathan15-Feb-07 0:09 
GeneralRe: Seekg problem in text file? Pin
kakan15-Feb-07 0:17
professionalkakan15-Feb-07 0:17 
Yes, what I already said: use binary mode for the file handling. Or rather: try, I still haven't checked that I'm correct (but I'm pretty sure I'm right).

The only thing you will have to put up with, using binary mode, is that you will get CR/LF-sequences as they exists in the file. That is, no conversion to a single \n.
An easy way to overcome this "problem" is to simply ignore all CR characters read from the file.



Alcohol. The cause of, and the solution to, all of life's problems - Homer Simpson

GeneralRe: Seekg problem in text file? Pin
Vishvanathan15-Feb-07 0:34
Vishvanathan15-Feb-07 0:34 
GeneralRe: Seekg problem in text file? Pin
Vishvanathan21-Feb-07 23:35
Vishvanathan21-Feb-07 23:35 
AnswerRe: Seekg problem in text file? Pin
krmed15-Feb-07 0:41
krmed15-Feb-07 0:41 
GeneralRe: Seekg problem in text file? Pin
Vishvanathan21-Feb-07 23:38
Vishvanathan21-Feb-07 23:38 
QuestionFile manage problem. Pin
david bagaturia14-Feb-07 19:31
david bagaturia14-Feb-07 19:31 
AnswerRe: File manage problem. Pin
Don Box14-Feb-07 19:35
Don Box14-Feb-07 19:35 
AnswerRe: File manage problem. Pin
Nibu babu thomas14-Feb-07 20:05
Nibu babu thomas14-Feb-07 20:05 
AnswerRe: File manage problem. Pin
Michael Dunn14-Feb-07 20:17
sitebuilderMichael Dunn14-Feb-07 20:17 
GeneralRe: File manage problem. Pin
david bagaturia14-Feb-07 20:31
david bagaturia14-Feb-07 20:31 
QuestionRe: File manage problem. Pin
Nibu babu thomas14-Feb-07 21:21
Nibu babu thomas14-Feb-07 21:21 
AnswerRe: File manage problem. Pin
david bagaturia14-Feb-07 21:51
david bagaturia14-Feb-07 21:51 
QuestionAppending & inseting Text in RichEdit Pin
Swapnil G14-Feb-07 18:52
Swapnil G14-Feb-07 18:52 
AnswerRe: Appending & inseting Text in RichEdit Pin
Hamid_RT14-Feb-07 20:57
Hamid_RT14-Feb-07 20:57 
AnswerRe: Appending & inseting Text in RichEdit Pin
Mark Salsbery15-Feb-07 7:04
Mark Salsbery15-Feb-07 7:04 
QuestionReference class from global Pin
Oliver12314-Feb-07 18:18
Oliver12314-Feb-07 18:18 
AnswerRe: Reference class from global Pin
jhwurmbach14-Feb-07 21:59
jhwurmbach14-Feb-07 21:59 
Questionc programming Pin
deeps_cute14-Feb-07 17:05
deeps_cute14-Feb-07 17:05 

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.