Just going through a tutorial and saw this code
And heres a quote about itCode:cout << "Here is 5: " << 5 << "\n";
Is there any reason why you would just do this?Next, the value 5 is passed to the insertion operator and the newline character (always in double quotes or single quotes).
Or is the book I have just being an ass?Code:cout << "Here is 5: " << "5\n";