|
-
February 20th, 2012, 04:02 PM
#4
Re: Help please.. C++ college work
First use code tags when posting code to preserve indentation.
Second, a char only holds one character. You either want a char array or a string.
Third, tackle the errors one at a time. The first error I see is this function.
Code:
char node::setname(char){
name = n;
};
You declared the function to take no arguments, but you implemented it with one argument. They need to be consistent.
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
|