You're welcome!
You're probably compiling as C++. Configure your compiler to compile as C and/or use a ".c" extension for your source file(s).
Type: Posts; User: laserlight
You're welcome!
You're probably compiling as C++. Configure your compiler to compile as C and/or use a ".c" extension for your source file(s).
You changed from double to int, presumably to simplify things during testing, but now this is wrong:
data[h] = (int*) malloc(3*sizeof(double));
You could have avoided this problem by writing:
...