Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cwjcc!tut.cis.ohio-state.edu!rutgers!caip.rutgers.edu!shuang From: shuang@caip.rutgers.edu (Shuang Chen) Newsgroups: comp.lang.c Subject: Struct definition in MS-C Keywords: pointer, linked list, Microsoft C Message-ID:Date: 16 Aug 89 18:48:39 GMT Organization: Rutgers Univ., New Brunswick, N.J. Lines: 31 I am trying to use struct to implement a linked list with Microsoft C. The problem I had was that I could not define a node structure with a pointer to point to another node of the same type. The program was typedef struct { ... ... node *next; } node; Actually I tried to use struct node { ... ... struct node *next; }; as it is with standard C, but this doesn't work with MS-C. Does any one have such experience ? I appriciate any help since I have to implement this on a IBM PC/AT with Microsoft C. Thanks... Shuang