delline in c

delline function deletes the line containing the cursor and move all lines below it one line up.

C programming code for delline
#include<stdio.h>
#include<conio.h>

main()
{
   printf("This line will be deleted when you press a key.");

   getch();
   delline();

   printf("Line deleted successfully.");

   getch();
   return 0;
}

Comments

Popular posts from this blog

Difference between asterisk and ampersand operators in c

kbhit in c