opps forgot to mention the error i am getting:
"error C2057: expected constant expression"