Click here to Skip to main content
15,908,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Ignoring \n in a binary file during reading Pin
Luc Pattyn11-Dec-08 3:40
sitebuilderLuc Pattyn11-Dec-08 3:40 
GeneralRe: Ignoring \n in a binary file during reading Pin
Mustafa Ismail Mustafa11-Dec-08 3:48
Mustafa Ismail Mustafa11-Dec-08 3:48 
GeneralRe: Ignoring \n in a binary file during reading Pin
Luc Pattyn11-Dec-08 4:32
sitebuilderLuc Pattyn11-Dec-08 4:32 
GeneralRe: Ignoring \n in a binary file during reading Pin
Mustafa Ismail Mustafa11-Dec-08 4:45
Mustafa Ismail Mustafa11-Dec-08 4:45 
AnswerRe: Ignoring \n in a binary file during reading Pin
VentsyV11-Dec-08 6:55
VentsyV11-Dec-08 6:55 
GeneralRe: Ignoring \n in a binary file during reading Pin
Mustafa Ismail Mustafa11-Dec-08 10:36
Mustafa Ismail Mustafa11-Dec-08 10:36 
QuestionRe: Ignoring \n in a binary file during reading Pin
David Crow11-Dec-08 8:13
David Crow11-Dec-08 8:13 
AnswerRe: Ignoring \n in a binary file during reading Pin
Mustafa Ismail Mustafa11-Dec-08 10:39
Mustafa Ismail Mustafa11-Dec-08 10:39 
DavidCrow wrote:
Taken at face value, these two seem to be a bit contradictory.


Believe me I know. I'm a bit out of practice with C++, been a couple of years at least and I hit this snag.

DavidCrow wrote:
Do what? Read the entire file into a buffer?


Read n number of bytes without being stopped by the delimeter. Any delimeter. And this is the dilemma since binary files should not have a delimeter!

Don't forget to vote if the response was helpful


Sig history

"dad" Ishmail-Samuel Mustafa

Unix is a Four Letter Word, and Vi is a Two Letter Abbreviation

"There is no wealth like knowledge, no poverty like ignorance" Ali Ibn Abi Talib

GeneralRe: Ignoring \n in a binary file during reading Pin
bulg11-Dec-08 12:13
bulg11-Dec-08 12:13 
Questionalgorithms of combination Pin
mayamay11-Dec-08 2:31
mayamay11-Dec-08 2:31 
AnswerRe: algorithms of combination Pin
Mustafa Ismail Mustafa11-Dec-08 2:34
Mustafa Ismail Mustafa11-Dec-08 2:34 
GeneralRe: algorithms of combination Pin
mayamay11-Dec-08 2:43
mayamay11-Dec-08 2:43 
GeneralRe: algorithms of combination Pin
Mustafa Ismail Mustafa11-Dec-08 2:55
Mustafa Ismail Mustafa11-Dec-08 2:55 
GeneralRe: algorithms of combination Pin
mayamay11-Dec-08 3:00
mayamay11-Dec-08 3:00 
GeneralRe: algorithms of combination Pin
Mustafa Ismail Mustafa11-Dec-08 3:05
Mustafa Ismail Mustafa11-Dec-08 3:05 
AnswerRe: algorithms of combination Pin
BonshatS11-Dec-08 3:37
BonshatS11-Dec-08 3:37 
QuestionMD5 - different results Pin
gabbana11-Dec-08 2:15
gabbana11-Dec-08 2:15 
AnswerRe: MD5 - different results Pin
Stuart Dootson11-Dec-08 2:32
professionalStuart Dootson11-Dec-08 2:32 
GeneralRe: MD5 - different results Pin
gabbana11-Dec-08 2:42
gabbana11-Dec-08 2:42 
QuestionHow to allow the user to enter a value between 0x00 and 0xFF in an edit box ? Pin
kapardhi11-Dec-08 1:47
kapardhi11-Dec-08 1:47 
AnswerRe: How to allow the user to enter a value between 0x00 and 0xFF in an edit box ? Pin
Stuart Dootson11-Dec-08 2:34
professionalStuart Dootson11-Dec-08 2:34 
AnswerRe: How to allow the user to enter a value between 0x00 and 0xFF in an edit box ? Pin
David Crow11-Dec-08 8:15
David Crow11-Dec-08 8:15 
QuestionHow can add button in ListCtlr? Pin
Le@rner11-Dec-08 0:01
Le@rner11-Dec-08 0:01 
AnswerRe: How can add button in ListCtlr? Pin
_AnsHUMAN_ 11-Dec-08 0:25
_AnsHUMAN_ 11-Dec-08 0:25 
QuestionTooltips on CView Pin
Redeye9210-Dec-08 23:50
Redeye9210-Dec-08 23:50 

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.