i receive an error that the size of vector wasn't define. I cannot understand where I'm doing wrong.
#include <iostream>
using namespace std;
class A
{
    int valoare;
    int vector[];
public:
    A(int param1=3):valoare(param1) {}
    int get_Valoare() {return this->valoare;}
};
int main()
{
    A vector[]=(*(new A(3)), *(new A(4)), *(new A(5)), *(new A(6)));
    cout<<vector[2].get_Valoare();
    //cout << "Hello world!" << endl;
    return 0;
}
 
    