#include<stdio.h>
#include<graphics.h>
#include<stdlib.h>
#include<conio.h>
void main()
{
int graphdriver=DETECT,graphmode;
int color,n,m;
initgraph(&graphdriver,&graphmode,"C:\\TC\\BGI");
for(n=0;n<10;n++)
{
putpixel(250+n,350,BLUE);
}
for(m=0;m<10;m++)
{
int x=getpixel(250+m,350);
printf("%d",x);
}
getch();
}
please any one help me solving errors..