I have a lot of couts and so I would like to be able to make a function that can take just three arguments. The function would print them out to the screen just as cout does like this:
print( 5, " is a ", "number" );
// should do the same thing as
cout << 5 << " is a " << "number" << endl;
I'm not asking anyone to do it. I'm just looking for a way to be able to. But if you can provide the code that would be good as well. Does anyone have any advice? Thanks.