fillpoly function in c using graphics.h

  • برمجة سي c

fillpoly function in c using graphics.h

Declaration: void drawpoly( int num, int *polypoints );

الأجوبة

#include <graphics.h>
#include <conio.h>

main()
{
   int gd=DETECT,gm,points[]={320,150,440,340,230,340,320,150};

   initgraph(&gd, &gm, "C:\\TC\\BGI");

   fillpoly(4, points);

   getch();
   closegraph();
   return 0;
}
هل كان المحتوى مفيد؟

القوائم الدراسية التي ينتمي لها السؤال

تبحث عن مدرس اونلاين؟

محتاج مساعدة باختيار المدرس الافضل؟ تواصل مع فريقنا الان لمساعدتك بتأمين افضل مدرس
ماهو التخصص الذي تبحث عنه؟
اكتب هنا...