Search:

Type: Posts; User: VpuLseV

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,014

    lol, im sorry, i JUST read the code posting thing!

    //queue.h

    #define T int

    class queue {
    public:
    virtual bool isempty()=0;
    virtual void enqueue(T) = 0;
    virtual T dequeue() = 0;
    };
  2. Replies
    1
    Views
    1,014

    header files and .C files

    can anyone tell me why i get this error when i run this code?

    error:

    /tmp/cclpzH3U.o: In function `main':
    /tmp/cclpzH3U.o(.text+0x77): undefined reference to `queuea::queuea[in-charge](int)'...
Results 1 to 2 of 2