+ 14

Is there any major difference between #include<iostream> and #include<iostream.h>

24th Jul 2017, 3:39 AM
Pruthvi Y
Pruthvi Y - avatar
6 Antworten
+ 13
The former is standard C++. The latter is pre-standard, obsolete C++ (Turbo C++). Do not use the latter. https://www.sololearn.com/Discuss/288609/?ref=app
24th Jul 2017, 3:43 AM
Hatsy Rei
Hatsy Rei - avatar
+ 6
#include<iostream> is used for importing c++ libraries. The .h syntax is used in C and was also implemented in C++ for importing built-in standard C libraries. So for importing iostream library you should use the former one.
24th Jul 2017, 7:44 AM
Hanif Ali
Hanif Ali - avatar
+ 2
Yes.... bcoz #include <iostream.h> is used to import libraries of c++ this function can be used in ur pc if c++ is installed to import library functions while execution of ur program....
3rd Aug 2017, 5:56 AM
Deleted
Deleted - avatar
+ 1
Nope they isn't any big difference...just that .h is used to define header file in older versuon of c++ but as the newer version came it not used now..
1st Oct 2017, 3:41 PM
Prateek Soni
Prateek Soni - avatar
+ 1
They are same...In the newer versions you dont need to include '.h'
2nd Oct 2017, 10:02 AM
Deblina Ghosh
Deblina Ghosh - avatar
0
how do I feel in the blanks space such as ---------namespace----------; friends help me out please!
2nd Oct 2017, 4:17 PM
Arop Mijak
Arop Mijak - avatar