gotoxy()move the cursor at specified location in the output screen. Syntax // gotoxy() function definitionvoidgotoxy(intx,inty) { printf("%c[%d;%df",0x1B, y, x); } Example Consider the example: #include <stdio.h>// gotoxy() function definitionvoidgotoxy(intx,inty) { printf("%c[...
I have been programming in C++ with borland compiler for a while now. But when I try to compile the same programs with other complilers like mingw, digital mars etc. there are problems with functions like getch() and clrscr(). I have used these functions in many of my programs. Is t...
Clear the screen in C language in just 3 easy stepsThe clrscr() function was used to clear the MS-DOS console screen in older C compilers like Turbo C and Turbo C++. clrscr() is not a standard C function—if you try to compile a program...