+ 14
Is there any major difference between #include<iostream> and #include<iostream.h>
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
+ 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.
+ 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....
+ 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..
+ 1
They are same...In the newer versions you dont need to include '.h'
0
how do I feel in the blanks space such as ---------namespace----------; friends help me out please!