Hoping for some insight on this.. code works perfectly fine, prints correctly when testing in terminal, but for some reason check50 outputs errors once it starts printing winners. Would love to find some source code so I can get everything in tip top shape. Any advice would be appreciated! Thank you

[removed code]


Figured it out! Issues related to initializing an empty string array "winners"

string winners[] = {"\0"};

replaced with

string winners[MAX];

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .