Actually I have two questions.
First like in topic: I get error “vector subscript out of range”. It concerns to
std::vector. I know what that error means, but the problem is I have a lot of vectors in my app, and I have no idea how to find which one causes the problem. I use Visual Studio, and I am quite new with it, not sure how to debug. I don’t want to spend too much time for understanding VS debuging tools due to fact I usually work in xCode. I use VS just to build my app on Windows.
Second question is at all about differences between Mac OSX and Windows. I use exactly the same code on both systems, on both system I set compiler to C++ 14, and both system set maximum optimalisation for fast code. But on Windows I have some memory leakages like above (vectors out of range). But on Mac there are no problems. Could anyone give some advice or hint?