home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c100 / 3.ddi / BGICLA.ZIP / TEST.CPP < prev   
Encoding:
C/C++ Source or Header  |  1990-06-11  |  483 b   |  28 lines

  1. #include <conio.h>
  2. #include <stdlib.h>
  3. #include <graphics.h>
  4. #include <bios.h>
  5. #include "display.hpp"
  6. #include "dot.hpp"
  7. #include "line.hpp"
  8. #include "arc.hpp"
  9. #include "polygon.hpp"
  10. #include "circle.hpp"
  11.  
  12.  
  13. char path[] = {"\\bin\\tc\\bgi"};
  14. Graphics_Display    theDisplay(path);
  15.  
  16.  
  17. main()
  18. {
  19.     int                 i;
  20.     int                 key;
  21.     Point               vertice(500.0,500.0);
  22.  
  23.     Circle circ(100,vertice);
  24.     circ.draw();
  25.  
  26.     getch();
  27. }
  28.