Default string arguments
- by John.M
myPreciousFunction(std::string s1 = "", std::string s2 = "")
{
}
int main()
{
myPreciousFunction();
}
can i make the arguments look any more prettier? i want there to be empty string if no arguments were supplied.