• Advertisement
Sign in to follow this  

Crash: class and array with initial size

This topic is 1778 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

There seems to be a small problem with arrays and classes when initializing with some initial size...
A bit modified version of TestArrayHandle() made the whole program crash:
class A{
A(){}
float[] cts(12);
};

void TestArrayHandle()
{
A aa;
//...
}
I'm using the latest version.

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement