Search:

Type: Posts; User: camel-man

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    2,142

    True, but I was getting the impression that when...

    True, but I was getting the impression that when I am done calling grow then returning back to whatever function called it, the memory will no longer be pointed to by the items pointer. That is how I...
  2. Replies
    9
    Views
    2,142

    struct Stack { int top; int...

    struct Stack
    {
    int top;
    int capacity;
    ItemT *items;
    };


    void pushStack(StackP stack, ItemT item)
    {
  3. Replies
    9
    Views
    2,142

    Ok thank you guys, apparently I have been...

    Ok thank you guys, apparently I have been thinking all wrong about pointers and heap memory, Ill have to let this soak in my small brain haha
  4. Replies
    9
    Views
    2,142

    True or False

    A pointer is passed to a function, the data the pointer is pointing to is changed, then the actual address that the pointer holds is changed. After the function returns, the data the pointer points...
Results 1 to 4 of 4