#include <conio.h>
#include <ncurses.h>
#include <stdio.h> #include <string.h> #include <math.h> //#include <conio.h> #include <ncurses.h> #include <ctype.h> #include <stdlib.h> #include "const.h" // System, limitation constants, typedefs, structs #include "classes.h" // Includes all class headers #include "funcdefs.h" // Function prototypes //extern int show_progress ; //had to change this int show_progress ; void make_progress_window ( char * ) { return ; } void destroy_progress_window () { return ; } void write_progress ( char *msg ) { if (msg == NULL) return ; printf ( "\n%s", msg ) ; } void write_non_progress ( char * ) { return ; } int user_pressed_escape () { int key ; if (kbhit()) { // Was a key pressed? key = getch () ; // Read it if so while (kbhit()) // Flush key buffer in case function key getch () ; // or key was held down return (key == KEY_ESCAPE) ; } else return 0 ; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)