[sdiy] OT: questions on TYPEDEF STRUCT
Neil Johnson
neil.johnson97 at ntlworld.com
Fri May 6 17:27:17 CEST 2011
Hi Dan,
> 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?
Yeah - it takes more letters to type. That's the reason. Compare:
struct time t;
and
newTime t;
Both do the same thing, but the latter saves typing 4 characters.
Time is money!!!!
Cheers,
Neil
--
http://www.njohnson.co.uk
More information about the Synth-diy
mailing list