Thread: I know everyone hates "GOTO" but...

  1. #16
    Registered User
    Join Date
    Apr 2003
    Posts
    2,663
    I am only new and learning and am trying to use a GOTO
    ...then why don't you set a goal for yourself and try to learn to program correctly?

    but what im saying is how do i jump out of a second function and back into the beggining of the first?
    Since you want to execute the beginning of your program more than once, can you think of a program structure that will allow you to do that? How about a function? Don't functions contain things you want to execute more than once? Put everything at the beginning of your program in a function, then start your program by calling that function, call your second function, then call your first function again.
    Last edited by 7stud; 02-13-2006 at 10:17 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. I think my compiler hates me
    By Matty_Alan in forum C Programming
    Replies: 4
    Last Post: 07-15-2007, 12:22 AM
  2. Pet Hates
    By twomers in forum A Brief History of Cprogramming.com
    Replies: 8
    Last Post: 10-21-2006, 04:08 AM
  3. The taskbar hates me messing around!
    By Queatrix in forum C++ Programming
    Replies: 7
    Last Post: 09-12-2005, 07:58 PM
  4. Who on this board hates me?!
    By Leeman_s in forum A Brief History of Cprogramming.com
    Replies: 41
    Last Post: 01-28-2003, 03:41 PM
  5. Cat hates getting a bath
    By Troll_King in forum A Brief History of Cprogramming.com
    Replies: 28
    Last Post: 10-23-2001, 08:15 PM