Just wondering if someone could help me with a problem i'm having, i have a class with member functions and a few variables. The program is supposed to do some calculations and then output something specific to the screen depending on what the input was. heres the problem, the only way i can output is by typing the following command in main
cout << "bluh bluh bluh is" << function() << endl;
i need to output an entire word but i cant figure out how to return a whole string instead of just a character, i believe it has something to do with pointers if that helps. i have tried to work this out on my own for hours and just cant seem to get anywhere. thanks in advance.