Because var is not a symbol in that snippet. var1, var2 and var3 are. If you want to do that you can do something like:
Code:vars[] = {12, 16, 9}; for(int i = 0; i <= 3; ++i) vars[i] += 1;
Because var is not a symbol in that snippet. var1, var2 and var3 are. If you want to do that you can do something like:
Code:vars[] = {12, 16, 9}; for(int i = 0; i <= 3; ++i) vars[i] += 1;
-- Will you show me how to c++?