Dont you get it???

its a MEMBER function which means its in the class Unsorted

Class UnsortedType{
.......
.....
.......
......
ItemType ReturnLastItem();
.....
private:
.....
....
}

then you write that function they told you already lol

ItemType UnsortedType::ReturnItemType()
{
return info[length];
}

**I just want to know how to write the ReturnItemType the result of that to an OutputFile text, and reading the list from a ready input file text.

for example:
input file contains: 10 7 98 54 13 66 4
how to let the program read the values of the list in the input file which is already there and then let the program create an outputfile txt with the result of ReturnLastItem()... how??????