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

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
publicly available No 5-Nov-12 12:07 Available psychic6000
Updates in content. 172 changes had been made.
1 No 5-Nov-12 12: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

| Advertise | Privacy | Mobile
Web01 | 2.8.140721.1 | Last Updated 5 Nov 2012
Article Copyright 2012 by psychic6000
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid