#Creating an Array from Structures
14 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
the same way as any other array: <type> <name>[<length>];
That is in fact the syntax?? Okay, I guess I’m just not implementing it right
I’ll close this then. It seems something’s missing in my code for sure.
!solved
Thank you and let us know if you have any more questions!
This thread is now set to auto-hide after an hour of inactivity
you can post the code and error messages, and we'd be able to tell you
I’m at work right now, and I left the code in a pretty terrible state cause I left in the middle of working on it
But you’re welcome to, hang on
Lemme pull it
Was gonna try and figure it out when I got home tonight, figured I’d ask though just in case
struct HighScoreEntry entries[2] = {e1, e2, e3};
you specified a length of 2, but gave 3 initializer elements, and none of those elements exist