Compiler Error C2109

subscript requires array or pointer type

A subscript was used on a variable that was not an array.