1.) Let's say I have a list: apple1, apple2, apple3, apple4, apple5
Does anyone know how to display the txt file using c++?
Does anyone know how to insert apple6 into the text file using link list and show the whole list including apple6?
1.) Let's say I have a list: apple1, apple2, apple3, apple4, apple5
Does anyone know how to display the txt file using c++?
Does anyone know how to insert apple6 into the text file using link list and show the whole list including apple6?
cout << list;
or similar.
list+="apple6";
However if you wanted to go down the STL route you would have a whole heap of fun.