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