![]() |
| |||||||
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #16 | |
| Registered User Join Date: Oct 2008 Location: TX
Posts: 1,262
| Quote:
Write a signal handler that sets a flag upon receipt of SIGALRM; check the value of flag in the caller to decide whether to continue or exit the program. | |
| itCbitC is offline | |
| | #17 | |
| Mysterious C++ User Join Date: Oct 2007
Posts: 14,099
| We're talking platform-specific solutions here, though. Correct me if I'm wrong. I don't believe there's any standard way of doing it, so the question becomes: for what OS?
__________________ Using: Microsoft Windows™ 7 Professional (x64), Microsoft Visual Studio™ 2008 Team System I dedicated my life to helping others. This is only a small sample of what they said: "Thanks Elysia. You're a programming master! How the hell do you know every thing?" Quoted... at least once. Quote:
| |
| Elysia is offline | |
| | #18 |
| Registered User Join Date: Jul 2009
Posts: 8
| I am running Windows XP, but why is it platform specific? |
| alekbabich is offline | |
| | #19 | |
| Mysterious C++ User Join Date: Oct 2007
Posts: 14,099
| There are many things C can do natively, that is with code in its standard library. However, there is also a lot of things that it cannot do natively, simply because there is no standard pre-existing code that does this. That is when we must turn to code that exists on operating systems that can do this for us.
__________________ Using: Microsoft Windows™ 7 Professional (x64), Microsoft Visual Studio™ 2008 Team System I dedicated my life to helping others. This is only a small sample of what they said: "Thanks Elysia. You're a programming master! How the hell do you know every thing?" Quoted... at least once. Quote:
| |
| Elysia is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| C keep a loop going whilst program continues on | fortune2k | C Programming | 6 | 03-11-2009 08:44 AM |
| Printing "shapes" based on character lines and number of line inputs | matt_570 | C++ Programming | 11 | 10-07-2008 06:19 PM |
| Using While Loop to write a program | Cyberman86 | C++ Programming | 2 | 09-16-2008 12:52 PM |
| Unexplained "unhandled exception" | ulillillia | C Programming | 6 | 04-19-2007 11:19 AM |
| UNICODE and GET_STATE | Registered | C++ Programming | 1 | 07-15-2002 03:23 PM |