How to navigate a program without goto

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?
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.