Click here to Skip to main content
15,920,896 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Checking if CString is Numeric Pin
Bob Stanneveld1-Aug-03 8:51
Bob Stanneveld1-Aug-03 8:51 
GeneralRe: Checking if CString is Numeric Pin
Ryan Binns1-Aug-03 14:07
Ryan Binns1-Aug-03 14:07 
GeneralRe: Checking if CString is Numeric Pin
Bob Stanneveld2-Aug-03 6:09
Bob Stanneveld2-Aug-03 6:09 
GeneralBlitting 8-bit image into 24-bit screen Pin
koxin31-Jul-03 21:10
koxin31-Jul-03 21:10 
GeneralUse CSkinProgress::ConvBitmap(...) Pin
Kochise31-Jul-03 21:41
Kochise31-Jul-03 21:41 
QuestionConversion fron binary file to text file format? Pin
Pratima Hegde31-Jul-03 19:41
Pratima Hegde31-Jul-03 19:41 
AnswerRe: Conversion fron binary file to text file format? Pin
Frank K31-Jul-03 20:08
Frank K31-Jul-03 20:08 
AnswerRe: Conversion fron binary file to text file format? Pin
koxin31-Jul-03 21:50
koxin31-Jul-03 21:50 
I'm not sure what you want to do, but anyway the difference between binary and text files is that text files are actually subgroup of binary files. That means that bytes (characters) in text files have only certain values specified in ASCII table (e.g. 'a' has a value of 97, 'b' 98, ...) while bytes in binary files can have any possible values (0-255).

Thus if you want to display a binary file in a text editor all you need to do is replace all non-ASCII characters with ASCII characters. Then the text editor will not find any character it can't deal with in the file and will consider it to be a text file.




Koxin
QuestionHow to get text on screen ? Pin
blueinred31-Jul-03 17:19
blueinred31-Jul-03 17:19 
AnswerRe: How to get text on screen ? Pin
MartinOrtiz31-Jul-03 18:09
MartinOrtiz31-Jul-03 18:09 
GeneralRe: How to get text on screen ? Pin
blueinred31-Jul-03 18:48
blueinred31-Jul-03 18:48 
AnswerRe: How to get text on screen ? Pin
Toni7831-Jul-03 18:37
Toni7831-Jul-03 18:37 
GeneralRe: How to get text on screen ? Pin
blueinred31-Jul-03 19:15
blueinred31-Jul-03 19:15 
GeneralRe: How to get text on screen ? Pin
Toni7831-Jul-03 19:39
Toni7831-Jul-03 19:39 
GeneralRe: How to get text on screen ? Pin
blueinred31-Jul-03 20:38
blueinred31-Jul-03 20:38 
GeneralRe: How to get text on screen ? Pin
Toni7831-Jul-03 21:05
Toni7831-Jul-03 21:05 
GeneralRe: How to get text on screen ? Pin
koxin31-Jul-03 21:39
koxin31-Jul-03 21:39 
GeneralRe: How to get text on screen ? Pin
blueinred31-Jul-03 22:36
blueinred31-Jul-03 22:36 
GeneralCFormView Background Pin
DougW4831-Jul-03 15:53
DougW4831-Jul-03 15:53 
GeneralRe: CFormView Background Pin
HPSI31-Jul-03 19:53
HPSI31-Jul-03 19:53 
GeneralRe: CFormView Background Pin
Vitali Halershtein31-Jul-03 21:25
Vitali Halershtein31-Jul-03 21:25 
GeneralJTC.h Pin
hkl31-Jul-03 14:11
hkl31-Jul-03 14:11 
Generaldisable/enable toolbar buttons in a dialog Pin
Marissa18231-Jul-03 13:34
Marissa18231-Jul-03 13:34 
GeneralRe: disable/enable toolbar buttons in a dialog Pin
Alexander M.,31-Jul-03 13:46
Alexander M.,31-Jul-03 13:46 
GeneralRe: disable/enable toolbar buttons in a dialog Pin
Marissa18231-Jul-03 14:27
Marissa18231-Jul-03 14:27 

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.