help with vex code

how do you insert a vex code?

i made a four wheel drive robot and i cant get it programed to do atomous stuff i can combine the automous with the controler but i cant just have it follow a program

void main (void)
{
while(1==1)
{
setmotor(1,0);//leftfront
setmotor(2,255);//rightfront
setmotor(4,0);//leftrear
setmotor(3,255);//rightrear
wait(5000);
setmotor(1,127);//leftfront
setmotor(2,127);//rightfront
setmotor(4,127);//leftrear
setmotor(3,127);//rightrear
wait(6000);
}
}

So you want to have an autonomous mode, then a manual mode? I would suggest using the FVC 2006-7 Competition Template. Second of all, it is sufficient if you simple say,

while (1) {

instead of
while (1 == 1) {

Or if you like the x is x style coding you could also say
while (1 = 1) { (i thinkā€¦)

Good luck.

no i was going to add to that to make it do something like go foward for five seconds then back up and go the other way but every time i program it into my bot it programs susfully then when i try to run the code it just sits there