Please can any one help regarding an alternative for gotoxy function. Like in the this program snippet I wish to goto the previous line . Is their anything defined in standard C++ which may help me to do so.
Code:#include<iostream.h> #include<conio.h> int main() { clrscr(); for( int i=0;i<=79;++i) { if(i==0) cout<<char(201); else if(i==79) cout<<char(187); else cout<<char(205); } getch(); for( int i=0;i<20;++i) { cout<<"\b"; } getch(); }