c++ int switch statement always goes to `default`
I have a switch statement that is based off an int comparison, but for some reason, it keeps failing on true comparisons, and skipping to the default. Here’s my code:
c++ int switch statement always goes to `default`
I have a switch statement that is based off an int comparison, but for some reason, it keeps failing on true comparisons, and skipping to the default. Here’s my code: