Thread: FIFO
View Single Post
  #5 (permalink)  
Old March 26th, 2004, 12:34 PM
davekw7x davekw7x is offline
Authorized User
 
Join Date: Feb 2004
Posts: 76
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:
 ok the errors are:
Info :Compiling C:\Documents and Settings\Guezt\My Documents\cola.cpp
Error: fifo.cpp(24,17):Call to undefined function 'instructions'
Error: fifo.cpp(75,12):Cannot convert 'void *' to 'queueNode *'
To eliminate the first error, place the following with your function prototypes:

Code:
    void instructions(void);

To eliminate the second error, you can change the malloc() statement to
Code:
   newPtr = (QUEUENODEPTR)malloc(sizeof(QUEUENODE));
Dave
Reply With Quote