189
Comments
  • 9
    This doesn‘t make any sense to me 😅
  • 11
    hard yes.. but awesome
  • 8
    Oh, God. I need to learn C again.
  • 6
    IMO explained like this it is
  • 5
    To code in C is hard and at the same it is fun
  • 10
    What relation has it to the worst start of an new job?
  • 5
    Just use auto... Oh wait, you are running un-postincremented C. ;-)
  • 2
    Surpassed
  • 2
  • 2
    Is this like the forkbomb in bash (sorry if I named it wrong I'm not among the sober ones atm)?
  • 2
    Single function pointer: void (*f)();
  • 8
    You can write obscure code in _any_ language.
  • 2
    C isn't hard if you are.
  • 6
    When you read this shit often you learn to understand it. Who the fuck am i kidding ?

    10 fucking years of programming in C and i still have just a slight clue why the F this works and what it does.

    And the saddest part ?

    Some person surely has use for this shit.
  • 3
    But when you read it slowly it makes sense.

    * reads the value of pointer and & gives adress that pointer is pointing at a value.

    Not so hard right ?
  • 2
    I always typedef function pointers to make them more readable
    But how the duck do you typedef that ??
  • 4
    @Highlight

    // Java isn't hard:

    Set<Set<Set<Set<Set<Set<Set<Set<Set<Set<Set<Set<Set<Set<Set<Set<Set<Set<?>>>>>>>>>>>>>>>>>> set;

    // defines set as a Set
  • 4
  • 4
    This is the weirdest boner ever
  • 3
    If you've done state machines, you will immediately get this.
  • 2
    In Vala (C# with pointers also works for those who don't know what Vala is):

    delegate void VoidFunc ();
    delegate VoidFunc* FuncFunc ();
    FuncFunc*[] F;
  • 3
    @IAmAnIssue one has to bust their ass to iterate this 😂😂
  • 2
    Maybe off topic, as an native Mandarin speaker, I always find it nearly impossible to explain this line in Mandarin.

    The English description actually makes sense even one reads it the first time.
  • 1
    Too simple. Some ; and { } should be added. In the random places.
  • 0
    Can you even have an array with no size in C?
    Unless it's a flexible array member in a struct (>= C99)
    https://stackoverflow.com/questions...
    I don't recall the compiler letting you define a variable as an uninitialized 0 length array. As in not when using the square brackets array syntax.
    https://stackoverflow.com/questions...

    Not to be a party pooper or anything :D
Add Comment