Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Tagged as

The goto-less goto!

, 2 Apr 2011 CPOL
Here goes my alternate.I am a C++ programmer. My goal is always to try to make code short and simple.bool bFailed=false;if (!bFailed) bFailed= condition1_fails;if (!bFailed) bFailed= condition2_fails;if (!bFailed) bFailed= condition3_fails;if (bFailed) DoFailedCleanup();else {...

Statistics


License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Jose David Pujo
Software Developer (Senior) Prosoft
Spain Spain
No Biography provided

| Advertise | Privacy | Mobile
Web01 | 2.8.141022.2 | Last Updated 2 Apr 2011
Article Copyright 2011 by Jose David Pujo
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid