Why stdio.h in c changed to iostream in c++ | Sololearn: Learn to code for FREE!

+1

Why stdio.h in c changed to iostream in c++

What are the advantages of iostream

7/21/2019 5:40:52 PM

Krishan

1 Answer

New Answer

+7

stdio.h is the standard input/output library for the C language. It holds the functions like printf, scanf, sscanf, fgets, etc. iostream is the standard input/output library for C++. It holds objects like cout/cin/cerr. The advantages question was asked already. See this thread https://www.sololearn.com/discuss/1886138/?ref=app