Lỗi exception unhandled exception thrown read access violation.pa was 0xcccccccc

Now, a quick google search makes me think there's something peculiar going on. All the search results talk about pointers not actually pointing anywhere [0xccccccccc is a low memory address?].

I'm yet to use pointers in my code but either way I'll paste the function and point out the line the exception gets thrown [in bold]:

void mMap::fillMap[]{
    for[int i = 0; i 

Chủ Đề