A fatal bug in my vector implementation, any solution?
I've been trying to implement my own vector (which is called vektor, and it is not supposed to much different from std::vector), but there some problems here. My program works for single dimensional vektors, but the main issue is around multi dimensional ones (like the one in the main function). HOWEVER, strangely it works on Sololearn, but when I run it on my code blocks, it returns me the code error 0xC000374. Please note that when I remove the the overloaded assignment operator, my program runs perfectly even in CodeBlocks (so this probably indicates that the problem lies in this function). Can you help me find the bug ? (This is not the complete code) https://code.sololearn.com/c8Zzm92F82Rp/?ref=app