what are iostream and stdio.h | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

what are iostream and stdio.h

13th Jul 2016, 5:42 PM
AKASH SHARMA
AKASH SHARMA - avatar
5 Answers
0
header files iostream is used in c++ n stdio.h in c
13th Jul 2016, 5:48 PM
Shristy Kshatriya
Shristy Kshatriya - avatar
0
what is the main function of header
13th Jul 2016, 5:49 PM
AKASH SHARMA
AKASH SHARMA - avatar
0
to include std libraries
13th Jul 2016, 5:51 PM
Shristy Kshatriya
Shristy Kshatriya - avatar
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?
13th Jul 2016, 7:22 PM
Vedant Patadia
Vedant Patadia - avatar
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
13th Jul 2016, 7:23 PM
Sagar Panchal
Sagar Panchal - avatar