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

Programming in C

Name: Anonymous 2012-01-15 23:50

sup /prog/,

I'm coding in C. I have an char array that looks like this: [0,1,1,0,0,0,1,1].

How can I write this into a binary or single char so that it'll be a single variable, i.e. b = 01100011?

And then convert that back into decimal?

Name: Anonymous 2012-01-16 0:24

>>8
Thanks. >>5 worked but produced the wrong outputs. (01101111 went to 246 for example)

Can you explain more what you mean by "You shouldn't add it. You should or it?"

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