01-20-2010, 07:20 AM
(01-19-2010, 08:10 PM)J4P4NM4N Wrote: Does Using an assignment operator in conjuction with a comparison operator, all as part of a conditional?
It's valid C/C++ so it works fine. It's use can sometimes be frowned upon (the coding standards where I worked disallowed doing it) because it can be troublesome to read when you are scanning code, but it works in this case since it prevents code duplication.
The little boat gently drifted across the pond exactly the way a bowling ball wouldn't.