I forgot to add a Stuff a; declaration at the end of the post, sorry
Name:
Anonymous2007-11-13 20:45
You can't forward-declare typedefs. This is very handy for public header files, as your API can deal in pointers to forward-declared structs only (the actual definitions are in private headers) and it's more difficult for client code to see what's in them.
Name:
Anonymous2007-11-13 20:45
first one you don't need to specify struct when declaring a variable. second one you do. otherwise, they're synonymous.
Name:
Anonymous2007-11-13 22:13
the actual type is a struct something. typedef is a general construct for giving a type an alias. in the first example you are defining an alias for an struct without a name. But you can also do, if i'm not wrong (I actually haven't coded in C in ages):
struct stuff_aux
{
int number;
}
typedef struct stuff_aux Stuff;
Name:
Anonymous2009-03-06 7:58
The time saved on that keyboard layout I was probably too hard for example sign him to newsletters gaia ign ign sends 2 emails per week and post normally Buy you might contact me at zukernik88 gmail com the job done first version was made in the past I.