Hey guys, I'm trying to store a "Difference Index" within a 2D array. The rest of the code works fine except for this part below. The error is directly related to Mstorage, and MstorageCount and FstorageCount.
I'm getting an error that is essentially saying "that there is NULL"
here's the error code: "Unhandled exception at 0x58771f68 (msvcp100d.dll) in PROJECT 6.exe: 0xC0000005: Access violation reading location 0x00000008."
and so it crashes, however, it will work if I take out the 2D array, and it will work fine is I keep the 2D array in the code, but don't increment or decrement and instead use a static value. Can some one help me solve the issue? If anyone wants more of the code, I'll provide it.
Okay, Thank you, that has definitely allowed the entire code to execute, however, now, when I try to print out the values,below 'BREAK' , I am just getting "-858993460" for all the values, somehow it isn't storing.