C++ c2334 error message
<p>This is my code</p>

<pre><code>// Assignment-Cat 1.cpp : Defines the entry podouble for the console application.
//

#include "stdafx.h"
#include&lt;iostream&gt;
#include &lt;iomanip&gt;
#include &lt;string&gt;
using namespace std; 

class Rectangle
{
public : 
    void set_values (double a, double b);

protected : 
   double width, height;
   {
       width = a; height = b;
   }

};

class Triangle: public Rectangle
{
public : 
    double area()
    {
        return (width*height*0.5);
    }
};


int main()
{
    Triangle tri;
    tri.set_values (4,5);
    cout&lt;&lt;tri.area()&lt;&lt;endl;
    return 0;
}
</code></pre>

<p>The error message is <strong>c2334 unexpected token(s) preceding '{'; skipping apparent function body</strong>Someone please help debug
` </p>
