Many of my programs output huge volumes of data for me to review on Excel. The best way to view all these files is to use a tab deliminated text format. Currently i use this chu
It may be faster to do it this way:
ofstream output (fileName.c_str()); for (int j = 0; j < dim; j++) { for (int i = 0; i < dim; i++) output << arrayPointer[j * dim + i] << '\t'; output << '\n'; }