Still have the error even with a default constructor.
class Foo {
public:
Foo ( int x, int y, int type );
}
And in the .cpp file
Foo::Foo ( int x = 0, int y = 0, int type = 0 ) {
And yet, when I call it
Foo foo_array[5][5];
I get the error. Any reason why that may be?