comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: pointer and structure stuff ...
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: pointer and structure stuff ... [message #38179 is a reply to message #38175] Wed, 25 February 2004 00:19 Go to previous messageGo to previous message
Ingo Salzmann is currently offline  Ingo Salzmann
Messages: 10
Registered: December 2002
Junior Member
> Is there a particular reason why you are putting your vectors
> into a structure? In other words, why aren't your vectors a field
> of your info structure, rather than in a structure of their own?
> Pointers to structures are pretty much designed to drive you
> crazy, what with all the extraneous parentheses needed to get
> things to work. :-(

Well, the reason is that I would like to keep track of many different
vectors that can be categorised by their purpose ... it seemed handy to
me to have for example a structure vectors_3d_upper in which all
concerning stuff is being stored ... unfortunately the ammount of
elements is being changed sometimes and therefore I would have loved to
easily update by (*info.vectors_3d_upper).reciprocal_lattice =
uniquevecors :-(
Thanks,
Ingo
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: CTRL and SHIFT keys with mouse
Next Topic: Re: Optional parameters

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 10:42:57 PDT 2025

Total time taken to generate the page: 0.89706 seconds