Binary to text format conversion

Hi,

Please can any one tell me how to convert binary data to text format and vice versa.

         If possible give me the algorithm or C program.

Thanks in advance

Waiting for reply

Bye:o

Take a look at the man pages for printf() and scanf().

Probably you may require sscanf( ) and its family of functions

JAVA HOST

E/-1(i[vector T(s)PI])
________________ = which will yield 10log 36
125
+/- infin.K/1

Do not change IP address to fit LAN, if you prefer C++ programming then use K/1 vector with simulink.

Ummmm, shavon, could we try that again? A little less je ne sais quoi this time...

hi,
you can use following unix command to covert binary to text and text to binary,

 uuencode - for binary to text file
 uudecode - for text to binary

usage:

uuencode sourcefile file_lable > filename

uudecode filename

Eg:

uuencode data.dat data.dat > tdata.txt
uudecode tdata.txt