ZhiYi
2006-09-18 09:05:14 UTC
I have used breakpoints and cout statements to determine the point of the crash.
The function has 4 parameters. 1 int variable, 1 int array and 2 double arrays. "Tuples" and "Features" are constants representing values of 1600 and 46 respectively.
int rank(int num,int data[Tuples][Features],
double dist[Tuples],double rank[Tuples])
{ ..........
...........}
The program crashes after the first opening bracket. '{'. None of the statements inside the function are executed.
I don't know what is going on. How come the program will crash without even executing a statement?