Questo è ciò che sono riuscita a produrre, da un sacco di errori.
Ciò che non so se è corretto e che non ho trovato da alcuna
parte è la def della struct.
Devo leggere date scritte in questo modo: int/int/int
Se qualcuno può dare un'occhiata...grazie mille!!

#include "stat.h"
#include <stdlib.h>
#include <stdio.h>
#include "rng.h"
#include "math.h"
//#include "parse.h"
#include <iostream>
#include <fstream>
#include <sstream>
//#include <gsl/gsl_math.h>
//#include <gsl/gsl_eigen.h>
//#include <gsl/gsl_fit.h>
//#include <gsl/gsl_statistics.h>
using namespace std;

#define SPACE << "\n " <<
#define SP << " " <<
//--------------------------------- CONSTANTS -----------------------------------
const int F500_maxcomp=500;
//-------------------------------------------------------------------------------
//------------------------------- PROGRAMS TO RUN -------------------------------
#define MAIN 1;

int main(){
int a,i,m,j,k,s,rg;
double sommar,sommap;

struct data {
int mese;
char "/";
int giorno;
char "/";
int anno;
};

// Read File with epsilons and scaled revenues
//fstream indata(infile.c_str(),ios::in);
fstream indata("dati 2 aziende.txt",ios::in);
indata.seekp(0,ios::beg); //positioning at the beginning of the file
int nrighe=0; // Number of trim
string line;
while(getline(indata,line)){ nrighe++; }
rg=nrighe*32;
// and read them
cout << "# Number of steps:" SP nrighe << endl;

// Read data and put into matrix timeserie(i,j):
double (*mat)[128] = new double[rg][128];
//
struct data(*trim)[32]=new struct data[nrighe][32];

k=0;
indata.clear();
indata.seekp(0,ios::beg);
for (j=0;j<nrighe;j++) //rows
{
for (i=0;i<160;i++) //columns
{
if(i==i*6)
{indata >> trim[j][k];
k++;}
else
indata >> mat[j][i];
};
k=0;
}






exit(0);
//-------------------------------------------------------------------------------

//-------------------------------------------------------------------------------
// ################################################## ############################


//-------------------------------------------------------------------------------


}