All articles

  1. C linked list macro

    Here's a simple macro I came up with a few weeks ago for easily defining linked list types in C:

    #define LINKED_LIST(type, name)     \
        struct name ## _ {              \
            struct name ## _ * next;    \
            type data;                  \
        };                              \
        typedef struct name ## _ name;
    

    Usage is simple:

    LINKED_LIST(int, int_ll);
    

    gives the same type as ...

    Read more...
  2. The curse of Firefox extensions

    Today is my first day of Firefox usage after a three-week break - a break which taught me something...

    First, a little background. I've been using Firefox since 0.9, and generally its always been the best browser for me. However, recently I lost my taste for it due to ...

    Read more...

« Page 3 / 3