Thanks. I have not used threads before but had an idea that I may need to use them to solve this problem. I was hoping to work out a solution without using threads.
Type: Posts; User: une
Thanks. I have not used threads before but had an idea that I may need to use them to solve this problem. I was hoping to work out a solution without using threads.
Hi,
Consider the following code;
#include <signal.h>
#include <stdlib.h>
#include <stdio.h>
#include <curses.h>
int number = 1;
void quitter(void);