Friend Function - Unable to display data in class function

Hi There,

Looking for some help around Friend functions and using them in another classes function.

Essentially, what I've done is create a class and prompt the user for basic information. I then want to use this information in another classes function to display the entered information, using my friend function.

Now, the problem that I'm facing is the data(char sequence) isn't displaying, it simply just shows as blank.

Is there something that I've done blatantly wrong here? Any advice would be greatly appreciated.
I'm blind
Have i explained it wrong? Or is this a a big rookie error? I'm not exactly the best programmer..
You've got a problem with your code, so you should post your code.
Topic archived. No new replies allowed.