Forums Programming Assignment Help a C program to enter a text string into a linked list where each link contains a single text

This topic contains 0 replies, has 1 voice, and was last updated by  administrator 6 years, 3 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #8362

    administrator
    Participant

    a C program to enter a text string into a linked list where each link contains a single text character stored in sequence. The program should allow the user to edit the string by inserting and deleting individual characters. The point of insertion or deletion can be marked with a cursor position.

    After entering an initial string the program should offer the user the following single character commands:

    • Command V (view) to display the contents of the string and cursor position

    • Commands L (left) and R (right) to allow the cursor to be moved left or right one cha-racter at a time respectively, then the updated line and cursor displayed

    • Command I (insert) to allow a single character to be inserted, then the updated line and cursor displayed

    • Command D (delete) to allow a single character to be deleted, then the new line dis-played.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.