You're replying to a comment by dum8d0g.

July 06, 2009, 19:32

A bit shorter:

void int_to_bin(int num) {
  int i;
  for (i=7; i>=0; i--)
    printf("%i", (num&(1<<i)?1:0));
  printf("\n");
}

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "security_143": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.