Name: Anonymous 2010-10-22 4:03
Hi /prog/.
I need some help, i want to make a list, but i want to make it at compile time using preprocessor macros.
I need to do something like this:
But i need to do it using macros so i can just safely append them to each other.
Help me
I need some help, i want to make a list, but i want to make it at compile time using preprocessor macros.
I need to do something like this:
typedef struct shit {
char *name;
int num;
void *next;
} ass:
ass dong = {"dong", 0, NULL};
ass dick = {"dick", 1, &dong};But i need to do it using macros so i can just safely append them to each other.
Help me