I'm writing this program that has a struct that contains a close to a dozen variables. I know that these variables can be accessed with the "." notation, however I was wondering if there is a way to access them with like a counter or a pointer.
What I need to do is to flush out the values using a for loop, so it increments through the variables within the struct. I tried googling and did a search on this forum and I could not get my question answered. Thanks in advance!