delete the line containing the cursor and move all lines below it one line up.
#include<stdio.h> #include<conio.h> int main(void) { printf("This line will be deleted ... press a key."); getch(); delline(); printf("Line deleted successfully."); getch(); return 0; }
1
This line will be deleted ... press a key
2
Line deleted successfully.