Ravic85 2 Newbie Poster
{length = width = 1.0;}

Rectangle::Rectangle(double len)

Rectangle::Rectangle(double len, double wid)

I get this error: Error 1 error C2447: '{' : missing function header (old-style formal list?) H:\C++\Programming assignment one\Programming assignment one\programming assignment 1 member functions.cpp 19
on line 5 and 9 and don't get the problem

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.