In Python I can do this:
print("Hello, %s!" % username)
How do I in C++ do the similar thing? I can do this, but it's probably not a good practice:
void welcome_message(std::string username) {
std::cout << "Hello, " << username << "!" <<std::endl;
}