What is the use of defining a anonymous structure within a structure? When should this concept be used?
What is the use of defining a anonymous structure within a structure? When should
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I sometimes use it to create a union between some data:
This way I can easily loop over the coordinates with
elementsbut also use the shorter formx,yandzinstead ofelements[0]etc.