Code a simple Editor class with 2 constructors (one default, one with a string for a file name)
The Editor class in private has an instance of a LinkedList (of strings) and the position of the user (use our Point class)
create a short file - at least 5 lines - could be some sentence
Using linked list class not STL.
main:
string fileName("input.txt");
Editor miniVi (fileName);
miniVi.displayLines();
C++ explain in detail plz Thank you
SCREENSHOTS :
Please see the screenshots of the code below for the indentations of the code.
input.txt
OUTPUT :
note: plzzz don't give dislike.....plzzz comment if you have any problem i will try to solve your problem.....plzzz give thumbs up i am in need....
Get Answers For Free
Most questions answered within 1 hours.