Associate
- Joined
- 12 May 2005
- Posts
- 1,777
MY program won't work, there are no compilation errors and I get a stack overflow error while debugging. Its a very simple program that finds line intersections from a huge list of co-ordinates. Any ideas as to why it fails would be very helpful.
I've find out that these variables are causing the problem, but they are vital to the advanced part of the program:
// double xvalues[1001] = {0};
// double yvalues[1001] = {0};
// double x1values[1001] = {0};
// double y1values[1001] = {0};
double gradients[1001] = {0};
double constants[1001] = {0};
// double intersects[1001][1001][1] = {0};
I've find out that these variables are causing the problem, but they are vital to the advanced part of the program:
// double xvalues[1001] = {0};
// double yvalues[1001] = {0};
// double x1values[1001] = {0};
// double y1values[1001] = {0};
double gradients[1001] = {0};
double constants[1001] = {0};
// double intersects[1001][1001][1] = {0};
Last edited: