Using goto is a very bad habit that you should kill now. C++ provides three standard loop constructs; while, do-while and for. You can also write functions.
sing goto is a very bad habit that you should kill now. C++ provides three standard loop constructs; while, do-while and for. You can also write functions.
I expect you did it incorrectly. You should learn how to use them now while you're making very simple programs. If you wait until the point that your programs collapse under the weight of their goto-inspired spaghetti-coded mess, it will be much harder.