Fellas, why is this happening, especially sometimes but not other times?

Here, I run the program three times, getting the exact same correct output. On the fourth, it outputs broken numbers. The function prnStats what’s being executed.

  • lofenyy@lemmy.caOP
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    Thanks for the help! I’ll definitely start using -Wall. I don’t know why I don’t do it by default…