Search:

Type: Posts; User: rcgldr

Search: Search took 0.02 seconds.

  1. Replies
    41
    Views
    2,796

    The goal here is for the function to change the...

    The goal here is for the function to change the value of pointer in main(). Take the simpler case of a integer:



    void function(int *x)
    {
    *x = 123;
    }

    int main()
  2. Replies
    41
    Views
    2,796

    The issue is that eintragen(...) updates pstart,...

    The issue is that eintragen(...) updates pstart, so it needs the address of pstart in order to update it.
Results 1 to 2 of 2