im trying to write a car class which has a class called "engine" in it i have a problem creating an instance of an engine (named it "myengine") *the error code says that i have unresolved externals i would appreciate any kind of help/commentary
    **this is the car header**
    #include "engine.h"
    #ifndef _car_
    #define _car_
     class car
    {
        engine myengine;                      //here is the error
        char* brandname="mybrand";
        char* model="mymodel";
    };
    #endif
**this is the engine header**
#ifndef _engine_
#define _engine_
class engine
{
public:
    float volume;
    float currentfuel;
    float maxfuel;
    bool activated;     //off
    engine();
     engine(float volume, float currentfuel, float maxfuel, bool activated) { 10, 0, 100, 0; }
    ~engine();
    void setfuel(float fuel);
    float getfuel();
    float getmaxfuel();
    void setmaxfuel(float maxfuel);
    float getvolume();
    void setvolume(float volume);
    void setactivated(bool active);
    bool getactivated();
    void activate(bool active);
};
#endif
**this is the engine cpp**
#include "engine.h"
#include <iostream>
using namespace std;
void engine::setfuel(float fuel)
{
    cout<<"enter fuel amount"<<endl;
    cin >> fuel;
    if (fuel < 0)
    {
        cout << "the amount of fuel cannot be less than 0";
    }
    else fuel = currentfuel;
}
