in my array template class of type 'T' I have the following line:
T * TempTArray = new T[TempTLength];
I have used the debugger to pinpoint this line as the trouble. It goes to the new operator code to allocate memory, and somewhere in the middle of it I get the following error:
"unhandled exception in arraytest.exe:0xC000005: Access Violation"
and sends me to KERNEL32!bff782af( ) with the yellow arrow that says which line the error occured in pointing at the line, in assembly:
mov pword ptr[ecx + 08], eax
Please tell me what is going on!