manuel giriş yapp cizgi cizdirmek amacm anck
derleyici derleyiyor dogru calşmiyor?? yardim
#include<iostream>
include<stdio.h>
#include<conio.h>
#include<graphics.h>
using namespace std;
int main() {
int x1,y1,x2,y2;
float x,y,t;
initwindow(640,640,"ermess ");
printf("Enter coordinates ");
scanf("%d%d%d%d",&x1,&x2,&y1,&y2);
for(t=1; t<=11; t++) {
x=x1+(x2-x1)*t;
y=y1+(y2-y1)*t;
putpixel(x,y,RED);
}
scanf("%f%f",x,y);
getch();
closegraph();
return 0;
}