What exactly are you confused about? Are you confused about the compile errors? There are lots. Most notably missing semicolons ';', parentheses ')', pointer declarations '*', etc.

Are you confused about why it wouldn't work if it did compile? It wouldn't work well. You have C-style strings inside your classes which don't copy automatically, but you don't have a user defined copy constructor and operator= to copy them. You have function that takes a copy of these objects instead of a constant reference that would avoid the copy, which isn't wrong but it exposes the copy constructor bug.

Are you confused about how friends work? A friend function is one that is allowed to access private variables inside a class that normally are hidden to everything outside the class.

If I could give some more advice (besides the usual get a better book), I would suggest learning smaller pieces at a time. You are probably not ready to learn about friends when you have all these problems with classes and functions and C-style strings. Try and make your program work small pieces at a time. Don't use c-style strings at first, because they are hard. Since you refuse to use the standard C++ libraries, I would suggest sticking to simple types like ints and floats. Put those into your classes and get them working, then move on to strings, and then move on to friends.

[Edit] Oops, too late. As far as compile errors there are lots and this program is probably too big for you to start trying to fix them now.