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.