I declare count2 earlier in the program. In one compiler, this doesn't cause an error, but my compiler at school (Microsoft Visual C++) is telling me that a constant expression is required. Does anyone know how I could fix this?
Code:lottery lotto_number[count2];