+ 7

Why should we use iostream instead of others like stdio?

22nd Oct 2016, 11:51 AM
Saklaen
14 Answers
+ 17
firstly because stdio is a c header file and iostream is a c++ header file. And it can be said that iostream is upgraded of stdio in C++, and iostream has much more tokens defined in it then stdio.
31st Oct 2016, 7:25 AM
Kuldeep Pisda
Kuldeep Pisda - avatar
+ 5
because stdio.h is a C header
22nd Oct 2016, 11:57 AM
bleh990
+ 1
First basically stdio is a c header and if you use cout or cin then you must use std:: some sort of things, so it can be said iostream is more flexible too.
22nd Oct 2016, 12:37 PM
Kuldeep Pisda
Kuldeep Pisda - avatar
+ 1
in c stdio is header file ,in c++ upstream is header
31st Oct 2016, 7:16 AM
akshata
akshata - avatar
+ 1
Thanx, everyone for commenting.
5th Nov 2016, 10:35 AM
Saklaen
+ 1
"io" in iostream implies input-output which handles the activites of input output declaration...
6th Nov 2016, 12:20 PM
shashank
shashank - avatar
0
Is it more flexible?
22nd Oct 2016, 11:53 AM
Saklaen
0
Sakeen Bhai iostream contains the code for Cin & Cout And many more tokens we use Stdio has others like random randomize. etc but not cin Cout that iostream has
22nd Oct 2016, 1:59 PM
Jishnu
Jishnu - avatar
0
pls I want to learn programming as a beginner where should I start please
1st Nov 2016, 9:04 AM
Miraboh Uche
Miraboh Uche - avatar
0
Who know program of game
15th Jan 2017, 8:51 AM
allaguly
- 1
stdio means standard input output , for making use of printf and scanf in the program, whereas iostream for cin and cout which are not I/O functions.
31st Oct 2016, 4:06 PM
Manje Gowda K R
Manje Gowda K R - avatar
- 1
ya i have also the same issue
14th Nov 2016, 7:48 AM
Tayyaba Irshad
Tayyaba Irshad - avatar
- 3
I should say, because it is more simple and friendly. Look any where to descriptions and examples using a functions from stdio printf and scanf to outut/input. There you have to set format parameters of variable, and beginers can do many errors.
22nd Oct 2016, 1:38 PM
Petr Hatina
Petr Hatina - avatar
- 7
are u c++ or c? its a c header bra
22nd Oct 2016, 1:14 PM
Azhar Rasheed
Azhar Rasheed - avatar