Newsgroups: comp.lang.c Path: utzoo!henry From: henry@zoo.toronto.edu (Henry Spencer) Subject: Re: Addressing struct without -> Message-ID: <1991Jan11.175047.7360@zoo.toronto.edu> Organization: U of Toronto Zoology References: <91010.084408NIBMSCM@NDSUVM1.BITNET> Date: Fri, 11 Jan 1991 17:50:47 GMT In article <91010.084408NIBMSCM@NDSUVM1.BITNET> NIBMSCM@NDSUVM1.BITNET writes: >with some other languages, such as Pascal, I had the capability to use >the 'using' keyword, giving the address of a structure and then address >the elements of that structure without the necessity of using the >ptr->element notation (could simply use element). > Could anyone out there tell me how I can implement this in 'C' ... Can't be done (in any convenient way) in standard C. -- If the Space Shuttle was the answer, | Henry Spencer at U of Toronto Zoology what was the question? | henry@zoo.toronto.edu utzoo!henry