stack and queue

i am creating a stack and queue integer program, however the stack section is producing some errors such as 'type name is not allowed' on things such as (void) and 'Top' and 'NodePop' are undefined, how must I define these? does anyone have any pointers or tips please? thank you.
Last edited on
Line 4-9 look like they should be removed.
Last edited on
Topic archived. No new replies allowed.