I would like to do this:
Class Obj{
private:
int a;
int b[a][3];
public:
Obj(int a);
}
So that i can specify the size of my array when creating my object.But I get this compilation error: error: array bound is not an integer constant
I don't want to use vectors, dos anyone know how I can do this? Thanks.