I am trying to use the date class to draw a graph in c++/cli
what I have is a pre-existing matrix globally defined as private: array^ moist_matx;
when I tried to do
XDate dato(moist_matx[i,0],moist_matx[i,1],moist_matx[i,2]); //date
double x = (double)dato;
I would get the I can't to convert from Int32 to int
I then tried to use the XDate dato instead of my matrix but it just gives me one point on the graph as I am not doing the i index in the dayI am doing
XDate dato (year,month,day) and I am inputing the year,month and day I have.
Please tell me how I can fix it.