Search:

Type: Posts; User: fourplay

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    805

    Beginner question about pointers

    void function(char * ptrA, char arr1[])
    {
    ...
    ptrA = arr1[9];
    ...
    }


    int main(...)
    {
  2. Replies
    6
    Views
    5,077

    OperatorCmp is stored in an external file:...

    OperatorCmp is stored in an external file: "cmpfn.h".

    The only reference to "cmpfn.h" is
    #include "cmpfn.h"
    at the top of pqueue.h.

    Even after I comment it out--both the #include and the...
  3. Replies
    6
    Views
    5,077

    I tried your suggestion, but it gave me the same...

    I tried your suggestion, but it gave me the same errors as it did before I put the &'s in the parameter list.
  4. Replies
    6
    Views
    5,077

    Passing A Function Into A Constructor

    Hi,

    I have a class provided to me called PQueue. It functions like a "priority queue"--elements can be enqueued in any order, but elements with higher priority are dequeued first.

    The class...
Results 1 to 4 of 4