I hope this isn't too much code for anyone to skim through, but basically the first and second function are to move the position of the 'tortoise' and the 'hare', and the third function is printing their relative positions.
The main function just starts the variables and then calls the functions.
Why am I not getting anything but the condition that their positions are the same? i.e. "OUCH!!" is displayed every line.
Yes, I did compile it in Quincy 2005. I received no such warnings.
That worked for it correctly going through a loop, but mine is now displaying wrong. For the racer that is behind, they are constantly displayed on the far left, instead of how my instructor's sample output is.
I don't really know what Quincy is...but I would still suggest using && instead of "and". Anyway, I think that is resulting from the "setw()" you are using...your code looks correct though...try using a for loop to display the correct number of spaces and see what happens then.
Surely what you want instead of 'and' (or '&&' as is better known by most compilers) is the logical 'or' (or '||' as is known by most compilers). Otherwise it will always wait until both contestants finish the race and there will be no winner...