Hi,
This is a C programming problem.
I've a structure with 100 members.
How can i print out all 100 members of the structure, and the respective values they hold, without having to output each member 100 times thru' the printf statement?
Hi,
This is a C programming problem.
I've a structure with 100 members.
How can i print out all 100 members of the structure, and the respective values they hold, without having to output each member 100 times thru' the printf statement?
hi,
This is a C structure problem.
I've a structure of 50 members. How can i output all 100 members and their respective values they hold, without having to output the printf statement 100 times ?
In short, can i output the members without knowing the member names?
Like using a For() loop, to loop thru all the 100 members and output thru' printf ?
I've never heard of a way to do this, and as structure members are nothing but variables, my inclination is to believe that it is not possible, sorry.
starX
www.axisoftime.com