title: How do I pass parameters to constructor multiple times
body: <p>Below gives only the 1st parameter list, (4,5); the 2nd (5,8) does not work. Please suggest.</p>
  <pre><code>#include&lt;iostream&gt;
  #include&lt;string&gt;
  using namespace std;
  using std::cout;
  using std::endl;
  using std::string;
  
  class Rectangle
  {
  public:
  Rectangle(int length, int breadth)
  {
  cout &lt;&lt; &quot;Area = &quot; &lt;&lt; length * breadth &lt;&lt; endl;
  }
  };
  
  int main()
  {
  Rectangle rect(4,5); //WORKING
  Rectangle rect(5,8); //NOT WORKING
  system (&quot;pause&quot;);
  return 0;
  }
  </code></pre>