Search:

Type: Posts; User: jadehippo

Search: Search took 0.00 seconds.

  1. Replies
    10
    Views
    1,821

    I still have the error.

    I still have the error.
  2. Replies
    10
    Views
    1,821

    opps my bad should be struct matrix { int...

    opps my bad should be


    struct matrix
    {
    int rows;
    int columns;
    int *elements;
    };
  3. Replies
    10
    Views
    1,821

    Error i don't understand :(

    dereferencing pointer to incomplete type.
    I get that when trying to compile my code.


    struct matrix *newmat(int row, int column)
    {
    ...
    struct matrix *mat;
    mat->rows = row; ...
  4. Replies
    10
    Views
    1,535

    Thank you :) I forgot you could do that. Silly...

    Thank you :) I forgot you could do that. Silly me, well you saved me lots of debugging time :) thanks again.
  5. Replies
    10
    Views
    1,535

    The pointer points to the array (*element =...

    The pointer points to the array (*element = &anarray). This is done in a struct where the array is also created. The changing of values is done in another struct. I don't know if I just point to the...
  6. Replies
    10
    Views
    1,535

    Of pointers and arrays

    I have a pointer pointing to the address of an array, how would i get it so i can change the values stored in the array in regards to the pointer?
    Thank you for any help.
Results 1 to 6 of 6