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

C Programming Challenges

Name: Anonymous 2007-07-31 17:58 ID:hLhle83q

Anyone got a website which lists C programming challenges?

Name: Anonymous 2007-08-01 0:08 ID:Heaven

>>8
oh thats hard

#include <stdio.h>

int main(int argc, char **argv) {
    FILE *fp;
    int c;
    if(argv[0] == NULL) return -1; /* WAHCKY ! */
    fp = fopen(argv[0], "r");
    if(fp == NULL) return -1; /* WOOTZ */
    while((c = getc(fp)) != EOF) putc(c, stdout);
    fclose(fp);
    return 0;

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