Struct definition in MS-C

Jeff Aguilera jeffa at hpmwtd.HP.COM
Fri Aug 18 09:51:43 AEST 1989


> struct node {
> 	
> 	...
> 	...
> 	struct node *next;
> 	};
> as it is with standard C, but this doesn't work with MS-C.

Are you SURE that doesn't work?  MS-C handles my linked lists
perfectly.  

You might try the following:

	typedef struct node *Node;

	struct node {
		...
		Node next;
	};



More information about the Comp.lang.c mailing list