title: What to use instead of Goto Statements?
body: <p>I'm wondering what I should be using instead of goto statements?</p>
  
  <p>Should I be using nested if/while/do-while statements?</p>
  
  <p>They say that using goto creates 'spaghetti code', but surely if someone is writing a large console application and they have if statement after if statement in an attempt to control the flow, that's going to make a mess?</p>
  
  <p>I'm asking as many people have asked why the goto statement is bad, but not what to replace it with. I'm sure a lot of beginners could do with this. </p>
  
  <p>This is for C++.</p>