Where is the end of the while(1) loop? Either the while() loop or main() is not terminated (and, of course, the while() loop IS terminated by the last closing brace but the main() function is not).
If you don't need to do anything, then why are there four statements in it.
If those four statements are meant to be in the loop, then why are then indented beyond the while()'s level of indentation.
Proper indenting goes a LONG way toward making your code readable and maintainable.
If you don't need to do anything, then why are there four statements in it.
If those four statements are meant to be in the loop, then why are then indented beyond the while()'s level of indentation.
Proper indenting goes a LONG way toward making your code readable and maintainable.