Originally posted by: Armitage
I spent more time then I'm willing to admit trying to track down why my C++ program was dying when the error condition wasn't met:
Originally posted by: Armitage
I spent more time then I'm willing to admit trying to track down why my C++ program was dying when the error condition wasn't met:
Originally posted by: Kilrsat
Originally posted by: Armitage
I spent more time then I'm willing to admit trying to track down why my C++ program was dying when the error condition wasn't met:
This is why I'm a bracket whore. It may work without them, but its only 2 extra characters and can save headaches later. Its worth it to me.
Yeah, I know, screwy python 😉Originally posted by: Armitage
Originally posted by: Kilrsat
Originally posted by: Armitage
I spent more time then I'm willing to admit trying to track down why my C++ program was dying when the error condition wasn't met:
This is why I'm a bracket whore. It may work without them, but its only 2 extra characters and can save headaches later. Its worth it to me.
I ussually am ... brackets whether you need em or not. But combine several months away from C++ and alot of python work, and the indented code looked just fine!
In case you're not a python guy ... python uses level of indention to determine scope.