anantkhaitan
Burning Bright
Guys I want some alternative to getch(), gotoxy(), kbhit(), _setcursortype(), etc. So either recommend me a alternative or help me developing a function of similar kind
Suppose for the program:
How will you write the program in ANSI C so that the output program is same/similar.
NOTE: I don't want getch() for pausing between the program .. But for trapping a character.
For pausing I can very well use system("Pause")
Suppose for the program:
Code:
int main()
{
int i=0;
char a[]="Help Me! ",ch;
do
{
ch=getch();
printf("%c",a[i%9]);
i++;
}while(ch!=27); // 27 means ESC
return 0;
}
NOTE: I don't want getch() for pausing between the program .. But for trapping a character.
For pausing I can very well use system("Pause")