how do i fix this red x error in my robot c program
Error:Task ‘autonomous’ is not defined at global scope level
Please refer to the answer in this thread.
https://vexforum.com/t/need-help-asap-thanks/32172/1
I also suggest that you work through some of the exercises in the “Vex cortex video trainer” if you have just started to learn ROBOTC.
http://www.education.rec.ri.cmu.edu/products/cortex_video_trainer/