Hi, I've been able to create an array of class variables, but I can't get the program to delete them without an access violation.
Thanks!
PHP Code:
class TEST
{
  public:
    
TEST(int y);
    
int x;
};

TEST::TEST(int y)
{
  
x=y;
}

class 
TEST2
{
  public:
    
TEST *test[];
};

void main()
{
  
TEST2 t2;
  for(
int i=0i<6;i++)
    
t2.test[i] = new(TEST)(i); // creating

  // delete them here