Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/20/03 18:48
Read: times


 
#39578 - RE: Arrays of structures
Responding to: ???'s previous message
James-
Did you mean:

float dataptr;
or
float *dataptr;

Your choice of variable name makes it hard to determine which of the below statements is actually correct. :)

dataptr = &(whatsit[4].burble); // float *
dataptr = (&whatsit[4])->burble; // float

Jeremy

List of 9 messages in thread
TopicAuthorDate
Arrays of structures            01/01/70 00:00      
   RE: Arrays of structures            01/01/70 00:00      
   RE: Arrays of structures            01/01/70 00:00      
      RE: Arrays of structures            01/01/70 00:00      
   RE: Arrays of structures            01/01/70 00:00      
      RE: Arrays of structures            01/01/70 00:00      
   RE: Arrays of structures            01/01/70 00:00      
      RE: Arrays of structures            01/01/70 00:00      
   RE: Arrays of structures            01/01/70 00:00      

Back to Subject List