I am trying to read in a text file that contains information in list form. Basically output from a lisp program that contains data. I need to ignore comments which in this case are ;;. I am trying to create a class which is derived from the CString class that when is used to create objects creates a string containing everything in the text file (except the comments of course). At this point I am just stuck on how to setup the class because I am not used to inheritance in C++. I have some stuff started like my constructor but get stuck on what it should do. I am going to need to keep track of parenthesis also which i can figure out later. Right now I just want to be able to create this object and know it contains eveything from the text file. I have been trying to do it using CFile, and look to others for assitance. C++ is new to me and I am just trying to get a grip on ideas such as Inheritance and setting up classes that can be used to create more complex objects later. Also, do I create this derived class as .h or a .cpp file? Thanks