|
-
October 21st, 2004, 05:56 PM
#1
error: parse error before "struct"
Hi i have this error in my program relating to the line
Code:
itemcount(struct list *robotcommand);
could someone tell me what the possable error is with this or what else.
-
October 21st, 2004, 08:57 PM
#2
Re: error: parse error before "struct"
If it is supposed to be a function declaration, you need to have a return type.
Code:
void itemcount(struct list *robotcommand);
However, if you are trying to call the function itemcount, there is no need to specify the datatype.
Code:
itemcount(robotcommand);
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|