3 ms·
awesome. so awesome. (actually I did have to shift bits once in a C program..I did some AND'ing and OR'ing. I felt like a man.)
by cmollis 10y ago
awesome. so awesome. (actually I did have to shift bits once in a C program..I did some AND'ing and OR'ing. I felt like a man.)
- AstroJetson 10y agoYou should look into getting an embedded systems job, those programs are full of shift / AND / OR / bit twiddle galore. You'll feel awesome for awhile, but trust me, all that low level bit stuff is sometimes a huge pain. Now UI stuff, that's where the real fun is!! ;-)
- mlvljr 10y agoBut not across a whole array, probably!
- cafard 10y agoI think that I last had to shift bits in a C program back when WordPerfect (4.2 and 5.1) used an XOR cipher for encryption, and used bit-shifting and (I think) XOR-ing to give you a 16-bit key for quick rejection of bad passwords. (At least, I think that's what the key was for.) On the other hand, I last read a book in a week last week. It was a novel, not very long or very complex; but it was a book and it took less than a week.