View Single Post
Old 11-23-2005, 02:16 PM   #1 (permalink)
baronvongogo
baronvongogo's Avatar
 
Master Techie

Join Date: May 2005

Location: UK

Posts: 2,749

baronvongogo is on a distinguished road

Default to goto or not to goto

hi Im learning c++ at the moment, And it seems no one likes goto commands. Now if im only using 4 gotos in a function is it really that bad?

Basically im using it for a dos game if a user inputs say 20 when they can only spend 15 it uses goto to jump back to the original starting point.

Are goto`s that bad?
__________________
baronvongogo is offline