S
sandy
I cannot figure this out.
I have the following code:
<code>
Private:
/******************************************************************************
CreateList
Inputs:
Outputs: None
Notes: Creates an empty linked list with no nodes
******************************************************************************/
void CreateList(ListType *list);
</code>
which is in the header of my file. I get the error:
\JobCollection.h expected primary-expression before "void"
What is causing the error?
What is a 'Primary' expression?
I have tried removing the void, still have an error. I put the void in
the function in the .cpp, I get the error, I take it out of the .cpp I
get the error.
I cannot figure this out...
I have the following code:
<code>
Private:
/******************************************************************************
CreateList
Inputs:
Outputs: None
Notes: Creates an empty linked list with no nodes
******************************************************************************/
void CreateList(ListType *list);
</code>
which is in the header of my file. I get the error:
\JobCollection.h expected primary-expression before "void"
What is causing the error?
What is a 'Primary' expression?
I have tried removing the void, still have an error. I put the void in
the function in the .cpp, I get the error, I take it out of the .cpp I
get the error.
I cannot figure this out...