void delline (void);
==== description of delline ====
delete the line containing the cursor and move all lines below it one line up.
#include
#include
int main(void)
{
printf("This line will be deleted ... press a key.");
getch();
delline();
printf("Line deleted successfully.");
getch();
return 0;
}
===== output of delline c example =====
1
This line will be deleted ... press a key
2
Line deleted successfully.