home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / ansi / tcxlansi.zip / ANSDEMO.C next >
C/C++ Source or Header  |  1992-11-10  |  442b  |  24 lines

  1. #include <stdio.h>
  2. #include <conio.h>
  3. #include <stdlib.h>
  4. #include <TCXLwin.h>
  5.  
  6. VOID CTYP putansi(ChrP ansiname, WndT win);
  7.  
  8.  
  9.  
  10. IntT  main(int argc, char* argv[])
  11. {//  ------
  12.    WndT  mw;
  13.  
  14.    TcxlInit();
  15.                             // <-- for 43/50 lines insert VsetLin(nn) here
  16.    mw = WopenFull(7);
  17.    putansi(argv[1],mw);     // <-- start program like : ansdemo file.ans
  18.    getch();
  19.    WcloseAll();
  20.    return(0);
  21. }
  22.  
  23.  
  24.