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.