Re: [OT] C question (typedef & structs)

2003-10-02 Thread Greg 'groggy' Lehey
On Thursday, 2 October 2003 at 12:37:01 -0400, Bill Moran wrote: > Chris Pressey wrote: >> See also >> >> http://www.phim.unibe.ch/comp_doc/c_manual/C/SYNTAX/typedef.html > > Thanks, Chris. > > That reference is fantastic. It's exactly what I've been looking > for. I kept coming across over-simp

Re: [OT] C question (typedef & structs)

2003-10-02 Thread Bill Moran
Lowell Gilbert wrote: Bill Moran <[EMAIL PROTECTED]> writes: 1) What's the difference between: struct customStruct { int RecID; char *Name; }; and typedef struct customStruct { int RecID; char *Name; }; ?? I had the latter, but when I started moving my code into different files

Re: [OT] C question (typedef & structs)

2003-10-02 Thread Bill Moran
Chris Pressey wrote: On Thu, 02 Oct 2003 11:54:39 -0400 Bill Moran <[EMAIL PROTECTED]> wrote: Hey gang, Hi Bill, Actually, 2 questions: 1) What's the difference between: struct customStruct { int RecID; char *Name; }; and typedef struct customStruct { int RecID; char *Name;

Re: [OT] C question (typedef & structs)

2003-10-02 Thread Lowell Gilbert
Bill Moran <[EMAIL PROTECTED]> writes: > 1) What's the difference between: > > struct customStruct { > int RecID; > char *Name; > }; > > and > > typedef struct customStruct { > int RecID; > char *Name; > }; > > ?? > > I had the latter, but when I started moving my code int

Re: [OT] C question (typedef & structs)

2003-10-02 Thread Chris Pressey
On Thu, 02 Oct 2003 11:54:39 -0400 Bill Moran <[EMAIL PROTECTED]> wrote: > Hey gang, Hi Bill, > Actually, 2 questions: > > 1) What's the difference between: > > struct customStruct { > int RecID; > char *Name; > }; > > and > > typedef struct customStruct { > int RecID; >