#Creating an Array from Structures

14 messages · Page 1 of 1 (latest)

radiant grove
#

Anybody got a clue how you’d go about creating an array from structures??
Pretty lost on this assignment. Gotta write it to a binary file too but I think that part’s possible for me.

blazing craneBOT
#

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.

dim dune
radiant grove
#

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

blazing craneBOT
#

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

dim dune
radiant grove
#

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

dim dune
#
struct HighScoreEntry entries[2] = {e1, e2, e3};

you specified a length of 2, but gave 3 initializer elements, and none of those elements exist