+ 2
[SOLVED] What's the difference?
Here are two methods of printing and getting input from user I have seen till now.. 1) printf() scanf() 2) cout cin Can someone please explain the difference?
10 odpowiedzi
+ 1
a Wolf are they interchangeable?
can I use printf() and scanf() in C++?
+ 1
Jacob Tracey
What did you mean `cout` doesn't support formatted string? what kind of formatted string were you talking about?
+ 1
Jacob Tracey
Perhaps an example? I am still not understanding your point here ...
+ 1
a Wolf Thank you so much
+ 1
Jacob Tracey
I thought it was about string interpolation. What a surprise if it's true, cause I never knew C language supports string interpolation
0
Jacob Tracey thank you