Suppose an engine is sending 4 bytes of data everytime. Suddenly it stops. Device a error handling mechanism to check at this point of time. You will have to complete the incomplete set of data and then proceed.
Suppose an engine is sending 4 bytes of data everytime. Suddenly it stops. Device a error handling mechanism to check at this point of time. You will have to complete the incomplete set of data and then proceed.
This smells quite strongly (should I use the word stinks?) of homework. The way we do homework on this forum is that you (the requester for help) does his/her best, then we try to advice in the right direction.
So perhaps you can supply us with your thoughts, and then we can help you along if we think there's a better/different way to solve the problem.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
Pad with zeros, WOOT