how to create dynamic object array with over loaded constructor call plz help and tell me the syntax ...

You can try something like this:

class myIntArray
   int* data;
   myIntArray(int size) : data(new int[size]) {}
  ~myIntArray() {delete[] data;}

  int& operator[] (int pos) {return data[pos];}
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.