I need to use a class for a program that reads an input file, prints the file, sorts the list then prints the sorted list. This is for a Programming II class. I can see how to print and sort. My issue is the input file and the array. I am trying to make the array a part of the class. What I am trying to do is dynamically allocate the array as a part of the class. I am imagining a member function List.read where the input file will be processed into the array. Is this too complicated for this level? Should I just make the array part of the int main() and pass the array to the member function? Do you actually "pass" the ifstream object to the member function or just have the member function contain the code to access the input file? If the array is a part of the class, then a destructor needs to delete the dynamic memory object, right? If you need code I will post it but I have not really reached a "finish point" yet. I am trying to determine if it is a waste of my time to try it this way.