I\'m trying to create structs with default values. I don\'t know how to accomplish this because every code that I see, is about initialising, and I would it for the natural
in C (pre C99) the following also works:
#include typedef struct { int a; int b; int c; } HELLO; int main() { HELLO a = {1,2,3}; printf("here: %d %d %d\n",a.a,a.b,a.c); exit(1); }
See codepad