i'm using Dev-C++, and everytime i try to make some classes, it's one and the same error. Here is an example of my Code - its pretty easy, but the error is also included in bigger programs i've written.
I've written two different constructors. CelestialBody() as the default-constructor, and CelestialBody(double radius, bool selfLuminous); to get the possibility to initialize with arguments. Same error.
This error means that the linker is unable to find the compiled code that is the constructor function; that is, it needs to call CelestialBody::CelestialBody() and you haven't written it.
You declared it in the class definiton,
CelestialBody();
If you declare any constructors in a class, there will be no default constructor created by the compiler; you must also write it.
Looking at your code, I see no reason to define your own default constructor; I think you could just remove that declaration, and the constructor will be written for you.