Constructing Objects and Calling Member functions
<p>Here is my code</p>

<pre><code>#include &lt;iostream&gt;

using namespace std;

class MyTestClass
{
    int MyTestIVar;

    public: 
        MyTestClass(void);
        int firstCallMethod(void);
        int secondCallMethod(void);
};

MyTestClass::MyTestClass(void)
{
    MyTestIVar = 4;
}
int MyTestClass::firstCallMethod(void)
{
    return secondCallMethod();
}
int MyTestClass::secondCallMethod(void)
{
    return MyTestIVar;
}

int main(int argc, char *argv[])
{
    MyTestClass mTC;
    cout &lt;&lt; mTC.firstCallMethod() &lt;&lt; endl;
    return 0;
}
</code></pre>

<p>If use use </p>

<pre><code>MyTestClass mTC();
</code></pre>

<p>instead it will disallow me to call any member functions and display this error</p>

<blockquote>
  <p>./experiment.cpp: In function ‘int main(int, char**)’:
  ./experiment.cpp:31:14: error: request for member ‘firstCallMethod’ in
  ‘mTC’, which is of non-class type ‘MyTestClass()’</p>
</blockquote>

<p>I read the posts on value-initialize etc, but this error still doesn't seem logical to me. Why would this affect member functions?</p>

<p>And help greatly appreciated :-)</p>
