Writing output to separate columns of same excel spreadsheet. Overlaying charts.

Hello,

2Qns please:

1. Does anybody know please how can I write output to excel file, but to populate 2 columns? Currently this code puts everything into one collumn:

Code:

`ofstream ouputFile("data.xls");`

int MSE = 5;

int percent = 25;

outputFile << MSE << percent << endl;

I need the 'MSE' to go into first column in excel and 'percent' to go into second column.

The reason is I will output many data for each and then will plot them.

2. On this note: (pure Excel question)

Does anybody know how to overlay 2 charts in Excel? I will be plotting financial market data on one chart (high, low, open, close) and then would like to add to the same chart another plot of my predicted high, low, open, close (all data is in excel spreadsheet). This will allow me to look at the actual market data vs my predictions, ie making it easier to see how well the prediciton coincides with the real thing.

Thank you very much!