Im supposed to create an to array of eight Circle objects initialized with the radii which is in the program. Also I must use bubble sort to arrange the objects is ascending order. Please help!
ERRORS:
'initializing' : cannot convert from 'double' to 'Circle'
'setRadius' : is not a member of 'Circle'
see declaration of 'Circle'
'findArea' : is not a member of 'Circle'
see declaration of 'Circle
The error are pretty self-explanatory. You didn't define any members for Circle other than the constructor, which you made take no parameters, forbidding the kind of initialization you used on line 19.