How do you add an int to a string in C++?
- by Wawa
int i = 4;
string text = "Player ";
cout << (text + i);
I'd like it to cout "Player 4"
^ The above is obviously wrong but it shows what I'm trying to do here. Is there an easy way to do this or do I have to start adding new includes?