[Solved] members of class being overwritten when new instance created c++/cli
So, it turns out that the problem was with declaring the array static in the class. Apparently what I actually wanted was to declare the variable but create it in the initialization function. I had tried this earlier, but the compiler choked and I thought that there was a problem with doing it this way. … Read more