TRASH AT FIRST FEW VALUES

My code, I cannot share as of yet as this is a graded matter, but as I run my code, there are trash values at the first few index values (2D array).

Can someone enlighten me as to the possible causes?

(I tried adding: long long to the int, and IT DID reduce the amount of trash values, like, from 13 index values to 8.)
(I'm currently trying to pull of a [30][4])

Please, one can answer from experience, or direct me to a link that explicitly answers this problem
Last edited on
Sounds like you have unitialised variables. Or some other process is accessing out-of-bounds elements and overwriting that area of memory.
Last edited on
Topic archived. No new replies allowed.