(visual c++)
Voila j'ecrit ma fonction factorielle comme suit :
double *_Fact;
malloc (N+1);
_Fact[0] = 1;
for (n = 1; n <= (int)N; n++)
_Fact[n] = n * _Fact[n - 1];
Lors de la compilation il m'affiche ce msg de warning : warning C4700: local variable '_Fact' used without having been initialized
et lors de debogage jai une erreur de Access violation!!!
Comment faire please?