Jim Dougherty wrote:
> [email protected] wrote:
>   
>> C++ supports (ALMOST) all funtionalites of C
>> and it is also supports for print(),scanf()
>> in that case WHY i have to USE cin and cout
>>
>> i am getting any benifits by using those cin and cout?
>>     
>
> The stuff below was cut from 
> http://www.parashift.com/c++-faq-lite/input-output.html
>
>
> [15.1] Why should I use <iostream> instead of the traditional <cstdio>?
>   

To summarize: the C++ iostream library is object-oriented. Name a 
benefit of OOP over procedural programming and it applies here.

-- 
John Gaughan

Reply via email to