C++ error: expected a '{'
<p>Help!
I'm new to C++...
how can I fix this header file?</p>

<pre><code>#pragma once
class MyCls2
{
private:
    int _i, _j;
public:
    MyCls2(int i, int j) : _i(i), 
                            _j(j)
    MyCls2(); // error: expected a '{'
    ~MyCls2(void);
};
</code></pre>

<p>This is the error in MS VC 2010:</p>

<blockquote>
  <p>error: expected a '{'</p>
</blockquote>

<hr>

<p>Thanks for the help, I got what I want now:</p>

<p>.h:</p>

<pre><code>#pragma once
class MyCls2
{
private:
    int _i, _j;
public:
    MyCls2(int i, int j) ;
    MyCls2();
    ~MyCls2(void);
};
</code></pre>

<p>.cpp:</p>

<pre><code>#include "StdAfx.h"
#include "MyCls2.h"


MyCls2::MyCls2()
{
}

MyCls2::MyCls2(int i, int j) : _i(i), 
    _j(j)
{
}
MyCls2::~MyCls2(void)
{
}
</code></pre>
