|
|
| version 1.138, 2010/04/30 18:19:40 | version 1.140, 2011/09/02 10:37:54 |
|---|---|
| Line 1 | Line 1 |
| /* $Id$ | /* $Id$ |
| $State$ | $State$ |
| $Log$ | $Log$ |
| Revision 1.140 2011/09/02 10:37:54 brouard | |
| Summary: times.h is ok with mingw32 now. | |
| Revision 1.139 2010/06/14 07:50:17 brouard | |
| After the theft of my laptop, I probably lost some lines of codes which were not uploaded to the CVS tree. | |
| I remember having already fixed agemin agemax which are pointers now but not cvs saved. | |
| Revision 1.138 2010/04/30 18:19:40 brouard | Revision 1.138 2010/04/30 18:19:40 brouard |
| *** empty log message *** | *** empty log message *** |
| Line 384 | Line 391 |
| #include <errno.h> | #include <errno.h> |
| extern int errno; | extern int errno; |
| /* #include <sys/time.h> */ | #include <sys/time.h> |
| /* | |
| #include <time.h> | #include <time.h> |
| #include "timeval.h" | #include "timeval.h" |
| Line 4897 calandcheckages(int imx, int maxwav, dou | Line 4905 calandcheckages(int imx, int maxwav, dou |
| } | } |
| else if(agev[m][i] >*agemax){ | else if(agev[m][i] >*agemax){ |
| *agemax=agev[m][i]; | *agemax=agev[m][i]; |
| /* printf(" anint[%d][%d]=%.0f annais[%d]=%.0f, agemax=%.0f\n",m,i,anint[m][i], i,annais[i], agemax);*/ | printf(" Max anint[%d][%d]=%.0f annais[%d]=%.0f, agemax=%.2f\n",m,i,anint[m][i], i,annais[i], *agemax); |
| } | } |
| /*agev[m][i]=anint[m][i]-annais[i];*/ | /*agev[m][i]=anint[m][i]-annais[i];*/ |
| /* agev[m][i] = age[i]+2*m;*/ | /* agev[m][i] = age[i]+2*m;*/ |
| Line 4931 calandcheckages(int imx, int maxwav, dou | Line 4939 calandcheckages(int imx, int maxwav, dou |
| }*/ | }*/ |
| printf("Total number of individuals= %d, Agemin = %.2f, Agemax= %.2f\n\n", imx, agemin, agemax); | printf("Total number of individuals= %d, Agemin = %.2f, Agemax= %.2f\n\n", imx, *agemin, *agemax); |
| fprintf(ficlog,"Total number of individuals= %d, Agemin = %.2f, Agemax= %.2f\n\n", imx, agemin, agemax); | fprintf(ficlog,"Total number of individuals= %d, Agemin = %.2f, Agemax= %.2f\n\n", imx, *agemin, *agemax); |
| return (0); | return (0); |
| endread: | endread: |