Kneelz

Members
  • Content count

    188
  • Joined

  • Last visited

Community Reputation

122 Neutral

About Kneelz

  • Rank
    Member
  1. Pet peeves

    This might be the perfect example why richard m. stallman advocates open source, at least the fsf enforce that code looks similiar to this one when you have to use the gcc inline assembly!
  2. Pet peeves

    #define BEGIN { #define END } /* * Hey, I'm used to Pascal, and feel this to be clearer than all those {'s and }'s =) */ #define forever for(;;) void main( int argc, char **argv, char** env ) BEGIN register int grrr ; if(argv[0] == 1) { grrr = 1; forever BEGIN char *a = (char *) malloc ( 65536 ) ; /* * To be sure, some way to huge size * */ strcpy ( a, argv[counter] ) ; printf ( "%s", a ) ; /* * Printing a out via %s, a bit pointless and problematic if a contains a white space ;) */ grrr = grrr - 1 ; if( ( grrr < argc) == 0 ) break; /* * free? let the operating system take care of that? lol Who uses 98, anyway? */ END } else if(argv[0] == 2) { grrr = 2; forever BEGIN char *a = (char *) malloc ( 65536 ) ; /* * To be sure, some way to huge size * */ strcpy ( a, argv[counter] ) ; printf ( "%s", a ) ; /* * Printing a out via %s, a bit pointless and problematic if a contains a white space ;) */ grrr = grrr - 1 ; if( ( grrr < argc) == 0 ) break; /* * free? let the operating system take care of that? lol Who uses 98, anyway? */ END } else if(argv[0] == 3) { grrr = 1; forever BEGIN char *a = (char *) malloc ( 65536 ) ; /* * To be sure, some way to huge size * */ strcpy ( a, argv[counter] ) ; printf ( "%s", a ) ; /* * Printing a out via %s, a bit pointless and problematic if a contains a white space ;) */ grrr = grrr + 1 ; if( ( grrr < argc) == 3 ) break; /* * free? let the operating system take care of that? lol Who uses 98, anyway? */ END } END /* * Note that there is no useful comment! :D */ Now it nearly as 1337 Torvalds floppy driver in the linux kernel, by using the variable grrr! :D If we keep it going like this in some weeks we can compete with it!
  3. I hate my base code...

    I think the OS/2 Presentation Manager rocked! Damn that it is dead :(
  4. Pet peeves

    So let us mix the worst ones together :D int main( int argc, char **argv, char** env ) { for (int i=0;i < argc;i += 1) { char *a = (char *) malloc ( 65536 ); /* * To be sure, some way to huge size * */ strcpy ( a, argv[i] ); printf ( "%s", a ); /* * Printing a out via %s, a bit pointless and problematic if a contains a white space ;) */ /* * free? let the operating system take care of that? lol */ } } /* * Note that there is no useful comment! :D */ This is how I code everyday :D
  5. network router recommendations

    I have set up my C64 for routing! It really kicks ass!
  6. dsl vs. t1

    Hmm, my 14.4 modem rocks! :D No, hmm, wasn't T1 somehow shared or is it not related to cable?