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

Pages: 1-

why not just c=0 instead of c=!r?

Name: halp 2011-03-13 10:26

#include <stdio.h>
int main(void) {
 
    int c = 0;
    int r = 32;
 
    while (r != 0) {
 
        c = c + 1;
        if (c > 31) {
            c = !r;   /* same as c = 0 */
            r = r - 1;
            printf("\n");
        }
        else {
            if (c < r) {
                printf(" ");
            }
            else {
                if ((~c & r) != 0) {
                    printf(" `");
                }
                else {
                    printf(" #");
                }
            }
        }
 
    }
    return 0;
}

Name: anus 2011-03-13 10:31

anus

Name: Anonymous 2011-03-13 12:25

penis

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