I have a project I'm working on for my C++ class. It's just a simple project to show that I know how to use OO programming.
Here's my problem...
The project requires 2 constructors one that take a double argument to initialize "dRadius" and the other dose not take any arguments, it just sets "dRadius" to 0. The project also requires another function that sets "dRadius". There is no user interaction for this project. So why have a constructor and a function that do the same thing? Is it good programming to initialize a class member 2 time in a row?