codeblocksdefinition of implicitly-declared 'Player::Player()'|
You need to add the shape() constructor to your class declaration like this:
#ifndef SHAPE_H
#define SHAPE_H
#include <QString>
#include <QDebug>
using namespace std;
class shape
{
public:
shape();
virtual double area()=0;
virtual QString getName()=0;
virtual QString getDimensions()=0;
virtual~shape(){}
};
#endif
You can then create the definition in shape.cpp like this:
shape::shape()
{
}
without a semicolon at the end.