Click here to Skip to main content
13,248,562 members (79,385 online)
Click here to Skip to main content

Tagged as


Posted 5 Nov 2012

escaping a large function

, 5 Nov 2012
easy, use another variable which can store the value of your desired variable.use label on your specific point and use goto statemnt to get thereint x;for (;;)for(;;)for(;;){ int y=123; if(y==123){ x=y; goto mylabel;}}mylabel:cout << x;goto is not a good...



Compare Revision Minor Date Status Editor
2 - publicly available No 5-Nov-12 7:07 Available psychic6000
Updates in content. 172 changes had been made.
1 No 5-Nov-12 7:03 Available psychic6000


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


About the Author

United States United States
No Biography provided

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.171114.1 | Last Updated 5 Nov 2012
Article Copyright 2012 by psychic6000
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid