Question

This is a discussion on Question within the C++ Programming forums, part of the General Programming Boards category; is it possible to cout a message in console, when someone try to close the program with the X button, ...

  1. #1
    Registered User
    Join Date
    Jul 2003
    Posts
    2

    Question

    is it possible to cout a message in console, when someone try to close the program with the X button, and dont close it? and the only way to do it should be ctrl+alt+del

    I'm trying to make a fun program

    cheers ThirdEye

  2. #2
    Me -=SoKrA=-'s Avatar
    Join Date
    Oct 2002
    Location
    Europe
    Posts
    448

    Re: Question

    Originally posted by ThirdEye

    I'm trying to make a fun program
    Sounds more like you're trying to make an annoying program, to say the least. Have you checked adrianxw's console tutorials? I'm not sure if he covers that but it's worth a look.http://www.adrianxw.dk
    SoKrA-BTS "Judge not the program I made, but the one I've yet to code"
    I say what I say, I mean what I mean.
    IDE: emacs + make + gcc and proud of it.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Alice....
    By Lurker in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 06-20-2005, 02:51 PM
  2. Debugging question
    By o_0 in forum C Programming
    Replies: 9
    Last Post: 10-10-2004, 05:51 PM
  3. Question about pointers #2
    By maxhavoc in forum C++ Programming
    Replies: 28
    Last Post: 06-21-2004, 12:52 PM
  4. Question...
    By TechWins in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 07-28-2003, 09:47 PM
  5. Question, question!
    By oskilian in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 12-24-2001, 12:47 AM

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