A default constructor that sets up an initial array of 5 unsigned longs, sets capacity to 5 and used to 0. So, my question is how do I accomplish this. I attempted in the code below.
You need to give a name to your class anonymous class isn't a good practice.
and you need to dynamically allocate memory to your class in Ctor and pass parameter as capacity,used so it will be a parameterised Ctor