So for my C++ class, the teacher gave this out as extra credit. There are 5 errors in this code, we have to find the errors but we cannot move, add, or delete any of the logic. I have found what I think are obvious errors, but wanted to see if there's anything I'm missing? It's been over a year since I've taken any C++ class so I'm really rusty at this.
#include <iostream>
using namespace std;
template <class T>
class Test
{
public:
Test(T);
void Print();
private:
T Variable;
};
Template <class T> //"Template" should be "template"
Test<T>::Test(T InValue)
{
Variable = InValue;
}