On 17 Jan 2006 06:42:51 -0800, in comp.lang.c , "ern"
<> wrote:
>My command-line application must be able to run text scripts (macros).
>1. After the script begins, the USER needs a way to halt execution of
>the script.
Suspend or terminate? The latter is easy...
>I was thinking any key press would do.
you can't do this in standard C, as there's no way to do a continuous
background check for something else happening in parallel to your main
thread. Ask in a newsgroup specific to your platform for information
on threading.
>2. I need a way to seperate each line in the text file.
read up on strtok and sscanf.
Mark McIntyre
--
----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----