Click here to Skip to main content
12,300,379 members (46,090 online)
Click here to Skip to main content

Tagged as

Stats

0 views
Posted

escaping a large function

, 5 Nov 2012 CPOL
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...

Revisions


  

Compare Revision Minor Date Status Editor
2 - 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

License

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

Share

About the Author

psychic6000
United States United States
No Biography provided

You may also be interested in...

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