void ff1(float *tt, int cc)
{
tt = new float[cc];
}
void ff2(float *tt)
{
delete[] tt;
}
int main()
{
int cc = 100000;
int y = 0;
float *tt = NULL;
while (1) {
ff1(tt, cc);
y++;
Sleep(500);
ff2(tt);
if (y > 50) break;
printf("%d ", y);
}
return 0;
}