Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Convert raw binary data to decimal string

Name: Anonymous 2009-06-20 10:07

I'm using C, any hints?

Name: Anonymous 2009-06-20 10:11

Only thing is have is text binary to decimal:
http://www.freevbcode.com/ShowCode.asp?ID=8332

Name: Anonymous 2009-06-20 11:03

man sprintf

Name: Anonymous 2009-06-20 11:30

If this is an academic exercise, write a function that turns a sequence of bytes into a bytestring (and you have to take care yourself of endianess, byte bit width, other details), to one agreeable format. You can avoid doing this if this function is written only for the read format that will be used by your professor. He'll probably mentino these details for careful students. Then devise of a function that changes a bitstring to a decimal string of the same number.

Name: Anonymous 2009-06-20 12:53

$ man sprintf
No manual entry for sprintf

Name: Anonymous 2009-06-20 13:06

http://dis.4chan.org/read/prog/1245090210/

That should help you enough. If it doesn't, you would fail your class anyway.

Name: Anonymous 2009-06-20 13:47

>>5
apt-get install manpages-dev

Name: Anonymous 2009-06-20 18:41

>>5
EXPERT UBANTO USER

Name: Trollbot9000 2009-07-01 7:59

SprintfNomanualentry.

Name: Anonymous 2010-11-26 4:19

Name: Anonymous 2011-01-31 21:10

<-- check em dubz

Name: tray 2012-03-14 23:12


Don't change these.
Name: Email:
Entire Thread Thread List