Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
[b][red]This message was edited by Gregry2 at 2006-6-5 6:28:6[/red][/b][hr]
A thousand years have past...lol, im back. Well, if anyone's intrested in noeing y i've been gone, they can ask...but for now, straight to the question.
In C/C++, do the logical operators (&&,||, i think...) evaluate the right side and if it is false or true, the entire expression is considered false or true, both respectively?
Theres something like that in Java, but i think its for & and |, or the other way around...
oh yeah, and one more thing. I wonder which is more time wasting, a conditional, or an expression repeated twice for no reason. Pls, try to visualize it in your mind, my actual code will take much longer than this paragraph to explain...