Thread: Halting execution

  1. #1
    Registered User
    Join Date
    Oct 2006
    Posts
    19

    Halting execution

    I've looked through the FAQ and a few sites on google but I cannot find what I need to know:
    What is the command to exit the program at any step in the execution?

  2. #2
    Registered User hk_mp5kpdw's Avatar
    Join Date
    Jan 2002
    Location
    Northern Virginia/Washington DC Metropolitan Area
    Posts
    3,817
    Quote Originally Posted by rickyoswaldiow
    What is the command to exit the program at any step in the execution?
    Oddly enough, it's the exit() function.
    "Owners of dogs will have noticed that, if you provide them with food and water and shelter and affection, they will think you are god. Whereas owners of cats are compelled to realize that, if you provide them with food and water and shelter and affection, they draw the conclusion that they are gods."
    -Christopher Hitchens

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Execution Time - Rijandael encryption
    By gamer4life687 in forum C++ Programming
    Replies: 5
    Last Post: 09-20-2008, 09:25 PM
  2. Replies: 0
    Last Post: 10-06-2007, 01:25 PM
  3. What is the best way to record a process execution time?
    By hanash in forum Linux Programming
    Replies: 7
    Last Post: 03-15-2006, 07:17 AM
  4. Parallel execution
    By Panopticon in forum C++ Programming
    Replies: 2
    Last Post: 01-27-2003, 01:57 AM
  5. Initiating command prompt execution
    By bluecoder in forum Windows Programming
    Replies: 2
    Last Post: 07-26-2002, 07:00 PM