Live data from Hacker News

Viewing profile — 1010111

1010111

HN member
Joined
Wed, Jan 11, 2017, 7:34 AM UTC
HN karma
4
Public activity
3 items

About 1010111

No profile information was provided.

Recent public activity

  1. comment
    Comment #13376677

    Thanks, i was not aware of that. What is a possible fix?

  2. comment
    Comment #13372635

    It uses a bit mask from the leftmost bit to the rightmost and prints the respective bits in x. Is that more complicated than allocating memory on the heap, storing the bits, and th…

  3. comment
    Comment #13372402

    Shitty C code: the binary printing function is needlessly complicated. void print_bin(int x){ for(unsigned m=~(~0u>>1); m ; m>>=1) putchar(x&m?'1':'0'); putchar('\n'); }