Several "Error C4430: missing type specifier" error messages
<p>All the code is supposed to do is create an instance of the class and print the private variable. I've looked through a bunch (over 20) of "Error C4430: missing type specifier" errors on this site but none helped.</p>

<p>Here's the class file ("Number.h"):</p>

<pre><code>#ifndef NUMBER_H
#define NUMBER_H

#include &lt;string&gt;

template &lt;typename T&gt;
class Number {
private:
    T myVar;

public:
    Number(T consVariable);
    ~Number();

    void setNumber(T newVar);
    T getNumber();
    bool isEqual(T check);
    bool isBigger(T check);
    bool isSmaller(T check);
};

template &lt;typename T&gt;
Number&lt;T&gt;::Number(T conVar) {
    myVar = conVar;
}

template &lt;typename T&gt;
Number&lt;T&gt;::setNumber(T setVar) {
    myVar = setVar;
}

template &lt;typename T&gt;
Number&lt;T&gt;::getNumber() {
    return myVar;
}

template &lt;typename T&gt;
Number&lt;T&gt;::isEqual(T n) {
    if (myVar == n)
        return true;
    else
        return false;
}

template &lt;typename T&gt;
Number&lt;T&gt;::isBigger(T n)
{
    if (myVar &gt;= n)
        return true;
    else
        return false;
}

template &lt;typename T&gt;
Number&lt;T&gt;::isSmaller(T n)
    {
    if (myVar &lt;= n)
        return true;
    else
        return false;
}

#endif
</code></pre>

<p>And the errors:</p>

<pre><code>number.h(31): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
number.h(36): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
number.h(44): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
number.h(53): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
number.h(62): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 
</code></pre>
