> getchar() delays execution and waits for user input, Use getch() instead of getchar() > I need a way to specify a certain key for termination. Test the return value against the key you are looking for. Alan G Author of the Learn to Program web tutor http://www.freenetpages.co.uk/hp/alan.gauld