Hi!
I'm kind of new to c++ programming but i need to finish something that doesn't seem to work properly. This problem only occurs when i try to fill my array with certain values and only if there are more than six of them. After i run the program it seems like it's working fine but it returns with 0xC0000005 (or sometimes 0xFF?) and crashes. I really hope you can help me since it'd be really important for me.
I've already edited my post as you said but it's still returning with that error code unless i use those certain values i was talking about before. Otherwise it's just working fine.
Alright, i've found the solution and the problem was indeed because of accessing a wrong element in the array as you said in the first place. Thank you very much!