Alright, so I've got a linked list program going here, and I've succesfully loaded a text file, and I fed each line from the text file into my linked list nodes.
Now I want to create a few commands that's going to allow me to alter this text file, while it's in my linked list.
If the letter I is entered with a number n following it, then insert the text to be followed before line n. If I is not followed by a number, then insert the text before the current line. If D is entered with two numbers n and m, one n, or no number following it, then delete lines n through m, line n, or the current line. Do the same with the command L, which stands for listing lines. Entry E signifies exit and saving the text in a file.
If you need to see any part of my current code, just let me know...
I was thinking, I wrote a fraction calculator last year that took the fraction (12/25 for example) and it did a search in the string for the '/' and took the first half, put that into a variable, and took the second half and put that into a variable. Just dismissed the slash of course, would it theoretically be possible to do the same here?