I\'m trying to initialize an int array with everything set at -1.
I tried the following, but it doesn\'t work. It only sets the first value at -1.
in
Just use this loop.
for(int i =0 ; i < 100 ; i++) directory[i] =0;