Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!andrew.cmu.edu!gh1r+ From: gh1r+@andrew.cmu.edu (Gaurang Hirpara) Newsgroups: comp.lang.c Subject: Pointer Problems Message-ID: <8aliOrS00WBMI1UVYX@andrew.cmu.edu> Date: 13 Aug 90 17:43:19 GMT Organization: Carnegie Mellon, Pittsburgh, PA Lines: 16 Here's a problem which has been bugging me for a while now: Ok. I have a struct, call it idiot, with some elements in it, nothing unusual. Now, I have another struct, which contains in it a generic pointer (i.e. Ptr ). How can I make point to idiot, AND be able to access the resulting pointer as a pointer to struct. My main problem is that even if I do manage to get them to point to the same place (which is a problem all by itself), I can't access the internal members of the struct. Any ideas? ~dan