while(1){
system("clear");
gotorc(10,30);
printf("\n1. add records");
printf("\nyour choice");
fflush(stdin);
choice=getchar();
switch(choice)
{
case'1' :
fseek(fp,0,SEEK_END);
another='y';
while(another=='y')
{
printf("\n Enter name, age and basic sal");
scanf("%s%d%f",e.name,&e.age,&e.bs);
fwrite(&e,stsize,1,fp);
printf("\n add another record(y/n)");
fflush(stdin);
another=getchar();
}
break;
hi friends
i am working on one menu driven program and used functon gotorc(10,30) in my program but unfortunately my compiler dsnt recognize this function. i am working on mac terminal with gcc compiler . so i tried to add graphics.h in header file but this header file is also not recognized by my compiler. so what should i do ......
it would be great for this help
iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii