This is what we call the DUH factor. But as a developer, I rarely need to simply display a value. I have to display values in a way that the user can use, which means formatting, sometimes extensive formatting.Originally posted by blackrat364
printf may be a bit easier for the incredibly complex things like that, but for simply displaying a string or an int, or getting either from the user, cin and cout are easier.