Thread: restart program

  1. #1
    Registered User
    Join Date
    Apr 2007

    restart program

    is there something to use besides a do while loop to restart the program. Maybe a function call?

  2. #2
    Registered User
    Join Date
    Nov 2004
    i've always used the while loops, i find they are the best, you could have a recursive function i suppose but i don't think that's the best way to go, and you could have a goto call but again i don't think that's the best way to do it.

    Maybe someone else can help you out, i've always used while loops
    "Anyone can aspire to greatness if they try hard enough."
    - Me

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 4
    Last Post: 02-21-2008, 10:39 AM
  2. Using variables in system()
    By Afro in forum C Programming
    Replies: 8
    Last Post: 07-03-2007, 12:27 PM
  3. Replies: 3
    Last Post: 03-04-2005, 02:46 PM
  4. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM