Search:

Type: Posts; User: OakRand

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    4,761

    I don't need to know how to define the function,...

    I don't need to know how to define the function, but how to specify the 2d array as a pointer in the function call.
  2. Replies
    8
    Views
    4,761

    That's for passing an array. I need a pointer...

    That's for passing an array.

    I need a pointer to an array,
  3. Replies
    8
    Views
    4,761

    Passing a pointer to a 2D array

    What is the correct way to pass a pointer to 2D array?

    What I do:

    float X[length][length]

    foo(&X);

    Error:
  4. Replies
    1
    Views
    2,039

    GPL license when using another's code

    I've written a program I'm going to be distributing that uses a few subroutines from a free library (slatec). I assume I can distribute these files as well, but should I include the same...
  5. Replies
    7
    Views
    1,201

    That's what it was. Thanks. I should have...

    That's what it was. Thanks. I should have realized it.
  6. Replies
    7
    Views
    1,201

    fprintf in subroutine and runtime

    This may be a well-known phenomenon, but I've only just noticed it and am not sure why it happens.

    I've got a basic little subroutine called from main that runs two nested for loops and takes 13...
Results 1 to 6 of 6