FutureQuest, Inc. FutureQuest, Inc. FutureQuest, Inc.

FutureQuest, Inc.
Go Back   FutureQuest Community > General Site Owner Support (All may read/respond) > General Coding/Development
User Name
Password  Lost PW

Reply
 
Thread Tools Search this Thread Display Modes
Old 10-20-2003, 08:57 PM   Postid: 98294
JoeLeBlanc
Site Owner
 
JoeLeBlanc's Avatar

Forum Notability:
10 pts: User-friendly
[Post Feedback]
 
Join Date: Mar 2002
Location: Sorrento, FL
Posts: 296
C/C++ Program Hangs

Hello,

I have a simple weather program made in C/C++ that collects data, parses it, and outputs it to a file. I have noticed that sometimes the process doesn't die and I have to kill it myself, anyway I can add a code into my c program so it would kill it self after so many seconds?

Thanks
__________________
Joe - Master of coding!!!
http://www.500inc.com/ | JDLSpeedy's Blog | Disposable Email | Image Converter
JoeLeBlanc is offline   Reply With Quote
Old 10-20-2003, 09:12 PM   Postid: 98296
 Terra
CTO FutureQuest, Inc.
 
Terra's Avatar
 
Join Date: Jun 1998
Location: Z'ha'dum
Posts: 7,672
alarm() is your friend...

--
Terra
--still uses a wind up clock--
FutureQuest
Terra is offline   Reply With Quote
Old 10-21-2003, 06:49 AM   Postid: 98318
JoeLeBlanc
Site Owner
 
JoeLeBlanc's Avatar

Forum Notability:
10 pts: User-friendly
[Post Feedback]
 
Join Date: Mar 2002
Location: Sorrento, FL
Posts: 296
Ok, thanks Terra, I think this is going to help alot.
__________________
Joe - Master of coding!!!
http://www.500inc.com/ | JDLSpeedy's Blog | Disposable Email | Image Converter
JoeLeBlanc is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 visitors)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 12:37 PM.


Running on vBulletin®
Copyright © 2000 - 2013, Jelsoft Enterprises Ltd.
Hosted & Administrated by FutureQuest, Inc.
Images & content copyright © 1998-2013 FutureQuest, Inc.
FutureQuest, Inc.