Turbo C offered gotoxy()
function in conio.h but it was not a standard.
I use gcc compiler and need gotoxy()
function.
I searched online but found only functions which are specific to OS or have some kind of dependency which makes it less portable.
eg: gotoxy()
function for windows use the Windows API and for linux it uses things like ncurses.
I found a suggestion in here
which mentions something about setting up a 2-d array, assigning values to cells and plotting.
When I attempted it, one of the problems was that after a new line has been printed there's no going back without a gotoxy() function.
Any help would be appreciated.