OOP, Constructor not working
<p>I am trying to call constructor  but it is not working. Code is something like this:</p>

<h1>// Event.h</h1>

<pre><code>class Event
{
  private:
    int Time;
    int Date;
  public:
    Event();
    Event(int t, int d)
}
</code></pre>

<h1>// Event.cpp</h1>

<pre><code>Event::Event(){}

Event::Event(int time, int date){
Time=time;
Date=date;
}
</code></pre>

<hr>

<p>//Now in another .cpp file I am trying to call constructor something like this:</p>

<pre><code>Event eve;
eve(inputTime,inputDate); // inputTime and inputDate are inputs 4m user.
//Error is:  no match for call to â(Event) (Time&amp;, Date&amp;)â
</code></pre>

<p>Any suggestions..............</p>
