It's hard to know what help to give, where to point you, without knowing how much you can accomplish on your own.
Please make a start on the assignment and post it here, then we can figure out what aid you need.
Val
vmanes
Posting Virtuoso
1,914 posts since Aug 2007
Reputation Points: 1,268
Solved Threads: 228
Ancient Dragon
Retired & Loving It
30,046 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,342
line 10: you don't do math such as multiplication in the section that declares variables. You probably want to do this:
int Capacity;
int * items;
int count ;
lines 16-21 don't make sense, and the function has no closing brace.
Ancient Dragon
Retired & Loving It
30,046 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,342
That error is usually because some function is not closed off - curly braces are out of sync.
You need to work on formatting, that will help to spot such problems. And, it looks like you have some functions defined within other functions, which is illegal.
Val
vmanes
Posting Virtuoso
1,914 posts since Aug 2007
Reputation Points: 1,268
Solved Threads: 228