Hi everyone I have the following line:
string* playerInfo = "Name: " + firstName + " " + lastName + "\n" +
"Number: " + playerNumber + "\n" +
"Points: " + pointTotal + "\n";
where firstName, lastName, playernumber, pointTotal are all string pointers.
How can I put them all together into another string pointer? The compiler complains about my line of code.
Sorry, I'm not good with C++ I come from a Java background.