I've 2 classes closedPolynom and Rectangle.
In the header file of Rectangle I'm getting this error: error C2969: syntax error : ';' : expected member function definition to end with '}'
this is the Rectangle class header file:
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#ifndef Rectangle_H
#define Rectangle_H
#include <iostream>
#include "Polynum.h"
usingnamespace std;
class Rectangle : public closedPolynom
{
public:
//ctor
Rectangle(int num) : closedPolynom(num); //<<< here the error
};
#endif