How to navigate a program without goto

Feb 9, 2015 at 4:53pm
Hey everybody. I am a really new beginner, working and reading through the tutorial for C++ on this site, and I was wondering how experienced programmers avoid using goto when navigating a program. I understand that using goto is frowned upon in the C++ community, and I was wondering how people substitute it.

What else could I use to replace goto?
Feb 9, 2015 at 5:23pm
The use of loops is generally used in place of goto. goto, in larger programs, tends to create messy, unmaintainable code.
Topic archived. No new replies allowed.