0
cin cout and scanf printf
im coding on a web these days and i found that sometime the test machine returned false when i used cin cout but correct when it's changed to printf and scanf.
3 Respostas
+ 3
Share your code or save it in Code Playground so people can see it, until then it's hard to say ...
+ 1
Printf, Scanf is C.
Cout, Cin is C++.
0
while both methods can be used in c++, the i/o streams are easier to work with imo