what are iostream and stdio.h | Sololearn: Learn to code for FREE!

+1

what are iostream and stdio.h

c++

7/13/2016 5:42:41 PM

AKASH SHARMA

5 Answers

New Answer

0

header files iostream is used in c++ n stdio.h in c

0

what is the main function of header

0

to include std libraries

0

sir, while using header files, there's nothing like main functions or there may not be any global functions at all of but yes if you want to ask the particular most used functions and objects then stdio.h- gets(),scanf(),printf() iostream - it has two particularly used objects namely "cout" and "cin", please note that there several member functions of those two objects and yes cout and cin are objects not function, they have some functions like flush(), get(), put(), etc that have usage in stream operations.... the implementation of objects is one of the major characteristic of C++ ask if you aren't satisfied?

0

iostream is derived class/buffer from ios class, in c++ we are using direct buffer to print or scan the data, hence iostream is used