plz. everyone give advice now.
void calibrateInput ( int i ) { doJob1 ( i ); doJump ( i ); doPeter ( &i ); doMary ( &i ); }
we found it!
it is not int. it is unsigned char.
no offense, but it is amazing that it took more than one person to reach this outstanding conclusion...
either way, we are happy for you!
they told me this forum was full of gurus. but you did not know what was wrong.
Sorry, but you must have forgotten to post the relevant code. There are not variable named "it", so there is no way we could know the data type for the "it" variable.
If the parameter sent to the function is int or unsigned char is irrelevant. The compiler will upgrade the unsigned in to an int.
If the doPeter() and doMary() functions takes a pointer to unsigned char instead of pointer to int, the compiler would have caught the error directly - you do use function prototypes, don't you?
Do you often request help with code sections you have forgotten to post?
well, maybe you are in need of a guru, but most certainly you are in desperate need of a...C book.
"we found it!"
"it"? It's not a singular problem. You also need to call doPaul() between do doPeter() and doMary().
www.peterpaulandmary.com/