Signal

This is a discussion on Signal within the A Brief History of Cprogramming.com forums, part of the Community Boards category; How can I make so that when I press CTRL + BREAK , the program makes an exit ?...

  1. #1
    Gerard Fremaint
    Guest

    Signal

    How can I make so that when I press CTRL + BREAK , the program makes an exit ?

  2. #2
    Linguistic Engineer... doubleanti's Avatar
    Join Date
    Aug 2001
    Location
    CA
    Posts
    2,459
    Check out the the shift status for those special keystrokes using functions found in <bios.h> or something in <system\*>, you can't use the conventional console io to handle it, if my memory serves me.
    hasafraggin shizigishin oppashigger...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 07-07-2009, 11:05 AM
  2. Signal and exception handling
    By nts in forum C++ Programming
    Replies: 23
    Last Post: 11-15-2007, 02:36 PM
  3. Signal question
    By fnoyan in forum Linux Programming
    Replies: 2
    Last Post: 06-01-2006, 06:46 AM
  4. NAQ: Everything you never wanted to know about CPP
    By evildave in forum C Programming
    Replies: 21
    Last Post: 12-12-2005, 10:56 AM
  5. signal handling
    By trekker in forum C Programming
    Replies: 2
    Last Post: 07-05-2002, 03:52 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21