Its really hard to explain.. Im programming a buggy to follow a white line on the floor, it has two sensors, left sensor on line is 4, right sensor on line is 8, both on line is 12 and neither on...
Type: Posts; User: xxJaRxx
Its really hard to explain.. Im programming a buggy to follow a white line on the floor, it has two sensors, left sensor on line is 4, right sensor on line is 8, both on line is 12 and neither on...
Thanks anon but thats not what im trying to do, as i will have similar if, goto statements in case 4 and 8 aswel so i dont want it to loop like that. I am open to suggestions with using goto as it...
Ive googled it and apparently you can use goto on a case label like Ive done but for some reason mine doesnt work :\ I know its not good to use goto but it seems the easiest way to keep things...
For some reason it wont compile and I get the error messages (in the goto line) below
Linetest.c:40: error: expected identifier or ‘*’ before ‘case’
Linetest.c:44: error: expected identifier or...