It says the addition of default argument on redeclaration makes this constructor a default constructor.
I did some research on it but I just don't understand what I need to do to fix this issue.
struct Transaction{
    int type;
    int amount;
    int to_from_type;
    Transaction(int, int, int);
};
Transaction :: Transaction(int type=0, int amount=0, int etc=0)
{
    this->type=type;
    this->amount=amount;
    this->to_from_type=etc;
}
 Transaction :: Transaction(int type=0, int amount=0, int etc=0) //I am getting an error at this code and I cannot fix it.
    {
        this->type=type;
        this->amount=amount;
        this->to_from_type=etc;
    }
I am not an expert in C++ and would love to get some help with my code.
 
    