Differences between Cout and Printf

Im actually programming in c++ so I wrote those lines with the same message and I knew that the program gets the same thing.
printf comes from C and doesn't handle C++ types. cout is C++ and you can overload the << and >> operators so that it works for your own types.
Topic archived. No new replies allowed.