[sdiy] OT: questions on TYPEDEF STRUCT
dan snazelle
subjectivity at hotmail.com
Fri May 6 16:55:09 CEST 2011
A little while back I asked the list a question that ended up in a discussion of STRUCT and since then I have learned what I can about it.
One of the things I keep running into is code where people convert a STRUCT like this
struct time
{
int hour;
int minutes;
int seconds;
};
into this:
typedef struct time newTime
and then you use newTime instead of the struct time .
WHY?
Why is this better, etc..there must be problems with struct, right?
any info appreciated!
thanks
More information about the Synth-diy
mailing list