Beginner Exercises (not Homework)

Pages: 12
It's the code I supplied that initialized the array when it was declared and bypassed the data entry loop.

closed account (48T7M4Gy)
LOL
closed account (48T7M4Gy)
std::array<Person, 10> person{58,53,6,4,33,21,44,54,55,18};
More sample data. ROFL jlb even.
LOL I can't believe I wasn't sure what was going on.
closed account (48T7M4Gy)
Yep, it's funny even if jlb still hasn't seen his blooper. The only reason I wrote my code was because Thomas suggested structures and I rarely use them. structures don't help the sorting but make the identification of the ownership of the score possible through the identifier, the property jlb overlooked (LOL even)
Topic archived. No new replies allowed.
Pages: 12