Path: utzoo!utgpu!watmath!att!tut.cis.ohio-state.edu!unmvax!indri!aplcen!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.lang.c Subject: Re: Struct definition in MS-C Keywords: pointer, linked list, Microsoft C Message-ID: <10761@smoke.BRL.MIL> Date: 17 Aug 89 15:03:20 GMT References:Reply-To: gwyn@brl.arpa (Doug Gwyn) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 13 In article shuang@caip.rutgers.edu (Shuang Chen) writes: >struct node { > struct node *next; > }; >as it is with standard C, but this doesn't work with MS-C. Actually that should have worked with anybody's C. Try something like struct node; struct node { struct node *next; }; If that doesn't work either, consider changing compiler vendors.