Search:

Type: Posts; User: Inukami

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,589

    linking heapsort file and main file

    I have a main.c file and a heap.c file. The heap.c file sorts data but it gets it's data from a pre-set size in the main function. I am trying to have it so that when I compile with:


    gcc...
  2. haha which one do you use? Also can you explain...

    haha which one do you use? Also can you explain why i dont have to declare the last dimensions?
  3. w-t-f 26 errors... I get a lot of these...

    w-t-f

    26 errors...

    I get a lot of these errors:
    Size of the type 'int[]' is unknown or zero
    what does that mean, im guessing its because i didn't set a value in the function for the arrays...
  4. I'm not following. So i just have to declare...

    I'm not following.

    So i just have to declare the functions at the top "void myFunction(char array[]);"
    Also i noticed in function, the parameters or whatever you want to call them, you don't...
  5. How to pass a matrix/array from main to a function

    Hello,
    http://codeviewer.org/view/code:a70
    As you can see i have a bunch of matrix and an array in my main function and i have a bunch of other functions listed above. I'm trying to pass the matrix...
Results 1 to 5 of 5