How to convert binary file to ASCII file

How to convert binary file to ASCII file

Post by prin » Fri, 06 Feb 2004 20:37:25


How to convert binary file to ASCII file?

Thanks in advance!
 
 
 

How to convert binary file to ASCII file

Post by Dave » Fri, 06 Feb 2004 21:48:02


well, an ascii file is a binary file... just the bits happen to be easily
displayable as letters, number, and other symbols. you will have to find
out what the meaning of each bit in the binary file is, how the bits are
grouped into bytes, and how the bytes are grouped into higher order things.
then read the file with the appropriate file access method and write it out
after translating the bits to whatever ascii codes you want them to come out
as. sorry i can't be more specific, but when you ask a very wide open
question you get a very wide open answer.

 
 
 

How to convert binary file to ASCII file

Post by Jagadeesh » Fri, 06 Feb 2004 21:49:30

that depends upon the type of binary you have.
 
 
 

How to convert binary file to ASCII file

Post by Ian Semme » Sat, 07 Feb 2004 02:46:30

Do you just want to look ay a file ?

In VS, go to open file and 'Open As' Binary.

Or, you might want to write your own program that converts binary to its hex
equivalent for display ?

The possibilities are endless.