Ok, first error is in the main(), when the compiler runs Lotto.Resize(array2, b2); it says:
error: request for member 'Resize' in 'Lotto', which of non-class type 'Lottery<int>()'
error: 'array2' was not declared in this scope
error: request for member 'addVar' in 'Lotto', which of non-class type 'Lottery<int>()'

Can someone please help me resolve these errors... Array2 is clearly defined as a private variable, and in the constructor...
Thanks alot

You have (1) dynamically allocated a new array of i objects of type T, and done nothing with it, (2) deleted the array that you passed in, for no obvious reason, and without doing anything with it, and (3) returned a variable that isn't defined.

So I think that needs work before you get too far. Once you determine what you need to pass in to a Resize method, vs. what information the class instance already has, I think you'll find that the error message becomes a non-issue (though if you really want to know, it's because the first variable you're passing into the method is an integer, when it's expecting and array-of-integers).