#include <stdio.h>
#include <conio.h>
main() {
void message();
message();
getch();
clrscr();
return 0;
}
void message() {
char name[20];
printf("Enter your name: ");
gets(name);
// gotoxy(25,4);
printf("%s has a bright future",name);
}
Above is the code that I am trying to execute. But the error does nnot allows it and get stuck at clrscr(). I have the conio.h file in the system but still it does not accepts it. How should I come across this error? Please help