#include #include #include #include #include #include #include #pragma hdrstop //--------------------------------------------------------------------------- USEUNIT("sumFunc.cpp"); USEUNIT("cell.cpp"); USEUNIT("cellList.cpp"); USEUNIT("globals.cpp"); USEUNIT("auditory.cpp"); //--------------------------------------------------------------------------- #include "cellList.h" #include "cell.h" #include "math.h" //#include "sumFunc.h" //--------------------------------------------------------------------------- #pragma argsused #define N 10 int main(int argc, char **argv) { randomize(); pAuditory auditory = new TAuditory(); for (int i=0; i Add(new TCell(auditory)); }; printf("Show:\n"); auditory->show(); printf("%f %f %f %f round:\n",LN(2),SIN(1),PI(),SQRT(4)); auditory->round(); auditory->show(); delete auditory; printf("Koniec \n"); getch(); return 0; };