Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!texsun!csccat!dalnet!dlss2!james From: james@dlss2.UUCP (James Cummings) Newsgroups: comp.lang.c Subject: LIFO Keywords: with structures Message-ID: <111@dlss2.UUCP> Date: 1 Nov 90 21:51:09 GMT Organization: SW Bell SSC- Dallas, TX Lines: 19 I have been struggling with what ought to be an easy problem. I am trying to build a Last In First Out stack that I can store the several structures in. I want to be able to "pop" them back out again in reverse order. So far, with a structure like: struct myst { char word1[10]; char word2[10]; struct myst *next; }; and some pointers of the same form, I have only managed to retreive the last structure on the stack...I seem to be able to go no further. Could some kind sole, please nudge me in the right direction or give me a *pointer to a book? Env: Sys V 3.2.1 K&R C