Class within class


I am currently trying to write a piece of code which will allow me to add a column of data to an existing excel file (which already contains data). At the moment, I have code which allows me to create an excel file from scratch and add/remove data, but this isn't very helpful. I would like to read in the file using the standard ofstream class and perform functions on the object I define (e.g. myFile), which are members of another class. Is this possible to implement or can anyone suggest a better way? I realise this may be a stupid question, but I am very inexperienced with c++ and I am still trying to learn.
thanks very much

Topic archived. No new replies allowed.