I have error in my code.When i start using new coder for vex i have error in competition in int main()

VEXcode_V5_Text_qhpQC9NXLb

Looks like something happened to your instance of ‘competition’ or a necessary vex file. The easiest solution (as we can’t see exactly what’s wrong with just this snippet) is to copy the code that you made and paste it into a new competition template.

1 Like

Sorry,but did not help

Then we need to see the rest of your code. You only showed us where you are trying to use variables, not where they are supposedly defined

1 Like

Thanks for the help, but I figured out the problem was in the layout and in the order of the code.