Let me try sending from the correct email address... I swear I'm getting
incompetent in my old age.
opening/closing braces(i prefer not using them because i think it makes
things easier to understand, for me at least)
I'm pretty much that way... less code is almost always easier to read than
more code.
I took a look at what you posted, and none of the missing braces seemed
ambiguous, so I doubt the compiler would complain. And the indentation looked
good, so it's still readable. *shrug*
You might consider changing your logf function to something else. The math
library contains a logf function, so you'll have trouble including math.h
with that function there, should the need arise.
--Palrich.