home *** CD-ROM | disk | FTP | other *** search
/ POINT Software Programming / PPROG1.ISO / c / actlib11 / tvtools / appsys.cpp next >
Encoding:
C/C++ Source or Header  |  1993-02-04  |  438 b   |  22 lines

  1. /*  Copyright (C) 1993   Marc Stern  (internet: stern@mble.philips.be)  */
  2.  
  3. #define Uses_TApplication
  4.  
  5. #include "tvtools.h"
  6. #include <conio.h>
  7. #include <process.h>
  8. #include <float.h>
  9.  
  10.  
  11.  
  12. void appSystem( char *cmd )   
  13.  
  14.   TApplication::application->suspend(); 
  15.   clrscr();
  16.   system( cmd );
  17.   _fpreset();  // To reset math co-processor
  18.   TApplication::application->resume(); 
  19.   TApplication::application->redraw();
  20. }
  21.