Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!ames!elroy.jpl.nasa.gov!jarthur!petunia!polyslo!apippin From: apippin@polyslo.CalPoly.EDU (Pinhead@Spikes) Newsgroups: comp.lang.c Subject: Re: Binary Trees in C Keywords: Binary Tree Message-ID: <25fff2a9.36f0@polyslo.CalPoly.EDU> Date: 15 Mar 90 19:53:13 GMT References: <21744@netnews.upenn.edu> Reply-To: apippin@polyslo.CalPoly.EDU (Pinhead@Spikes) Distribution: usa Organization: Viking Tours & Travels (Thrice!) Lines: 16 Add then rmandel@grad1.cis.upenn.edu () babbles... ~How do you declare a linked list or binary tree type? Try: typedef struct _node nodeptr; struct _node { int i; nodeptr right; nodeptr left; } This works on a Sun 3, Pyramid and Macintoys. aBp. -- Andy Pippin -*- apippin@polyslo.CalPoly.EDU -*- Conserve water, drink bier.