for making turbo compatible 1.add .h in header lines 2.add #include<conio.h> 3.remove the line using namespace std 4.add clrscr(); as first line in main() 5.add getch(); at last before return 0; line in main() 6.if there is function named clear() ,remove its definition,declaration and function call