when i wrote the following program in turbo c,the out put was right but when i wroted it in
borland c,the out put was wrong and the (*) was printed in wrong place,so what is the problem with
borland c for dos.for another example i wrote a program which contained some graphical features
compilers couldent compile it ,exept borland c for dos(even borland c for windows coulden`t compile
it,an error about bgi and windows ...?! happend).
#include <stdio.h>
#include <conio.h>
int main(){
clrscr();
gotoxy(50,20);//one
printf("*");
gotoxy(0,0);//two
printf("*");
getch();
return 0;
}
by the way i have an other question:
can u please brif me on bgi api (16- bit 32- bit os) or name some good web sites about it?