One of the things about programming is that there are several ways to achieve the same goal. During my time coding in C++ I have noticed the following variations in ways to implement certain common features. My question is what are the advantages/disadvantages of each, I understand for the most part how each of them work, but I would like to know which is better in terms of performance, readability, and conformity to standards, as well as acceptability with OOP.
cout vs printf
cin vs scanf
endl vs \n
C-string vs C++ string
Please don't tell me the features that one includes and another one doesn't or how one can be used for one purpose but not another, I am already aware of their capabilities and limitations, answer with regard to functionality that they share.
Thanks