Printf() vs Cout?

I really shouldn’t throw this out there as it may confuse some people.
So if you’re new to programming completely probably avoid this post.

However, I am slightly curious. Is there a reason to use cout over printf()? I know printf() is something from C, but it seems a little neater in terms of writing things because you can do it all inline without so many <<'s to break things up.

1 Like

I wonder of that as well…

Privacy & Terms