What is the difference between these two lines? Are they the same?
boolean StraightAhead( void) {
boolean StraightAhead() {
They are functionally equivalent. One is explicitly stating that there are no variables passed to the function, the other implies it by omission. Not sure what the C/C++ standards say but the present gcc compiler is happy with either.
Lefty