read the attached pdf file install the accrobat reader

"Victor A. Wagner Jr." <[EMAIL PROTECTED]> wrote:           At 19:38 
2006-12-22, tamilselvan balan wrote:
  Hi Friends,
      Can any body tell me how to access the structure elements without using 
the elements name. 
short answer: no.
longer answer: portably? definitely not.

now for my question.  Why do you think you need to do this?

  
(e.g) 
 
 typedef  struct {
                   char  *ch;
                   int  id;
                   float  salary;
  } Base;
 
Base orgin;
 
orgin + 0 point to the first element of Base    (  ch )
orgin +1   point to second element of Base    (id)
orgin + 2  point to Third element of Base        ( salary)
 
Is it possible to access the elements like this , if yes please let me to know
 
Thanks&Regards,
Selvan.

Send free SMS to your Friends on Mobile from your Yahoo! Messenger. Download 
Now! http://messenger.yahoo.com/download.php   Victor A. Wagner Jr.      
http://rudbek.com
The five most dangerous words in the English language:
              "There oughta be a law" 

         


 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Attachment: structures.pdf
Description: 3924022204-structures.pdf

Reply via email to