   tyepdef: where to...
  Hi, I use typedef for function pointers, and renaming existing data types (typedef int INT  My question is with respect to structs.  I remember in pure-C, using them like:typedef struct {   // fields} object, *ptrObject;void foo( ptrObject x );  // nice looking reference passingin C++, does it make a difference at all between:typedef struct tagX // fields} tagX_t;andstruct tagX_t { /* fields */ };I mean, at the compiler level, does it make a difference, or is it just preference?  I always find myself 2nd-guessing myself between the two...any thoughts would be nice Thanks.  
  The two methods are exact the same - the later is just cleaner and nicer while the first one is pre-ANSI C and now deprecated. You won''t even find the first one mentioned in C++ books. Even Kernighan and Ritchie''s: The C Programming language (ANSI C) only use the second form:struct tagX_t { /* fields */ };;  Thanks!  ;  you''re welcome.  