Search:

Type: Posts; User: laserlight

Search: Search took 0.24 seconds.

  1. Replies
    4
    Views
    2,383

    You're welcome! You're probably compiling as...

    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).
  2. Replies
    4
    Views
    2,383

    You changed from double to int, presumably to...

    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:
    ...
Results 1 to 2 of 2