Need Help C Code Please Possible Comment Code Take Screenshot Similar Linear Insertion Sor Q37297976

Need help with this C++ code. Please if possible comment thecode and take a screenshot. This is similar to the linear insertionsort you have already written, but uses a linked list. Here is themethod:

  1. Ask the user for the name of a file containing data. If it doesnot exist, the program should display an error, then ask for a newfile name. Entering an asterisk (*) should exit the program.
  2. Create a “head” that is a pointer to your first list node andinitialize it.
  3. The way linear insertion works is this:
  1. If the list is empty, create a new node with the number as
    OR
    OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.