/* A very minimalistic C program. Converts input into an ASCII coded bit string sent one char at a time to std output. */ #include int main(void){ unsigned char c,i; while(!feof(stdin)){ c=getchar(); for(i=0; i<=7; i++){ putchar((c&128)?'1':'0'); c = c<<1; } } return 0; }