+ 28
#include <iostream.h> or ...iostream>
14 Answers
+ 19
<iostream.h> is pre-standard C++. If you are using a complier which supports it, please do upgrade to standard.
https://www.sololearn.com/Discuss/288609/?ref=app
+ 20
help me to download best complier.. (link for Windows 10)
+ 9
https://www.visualstudio.com/downloads/
community edition
+ 9
translation:
It's the oldest hack that's in c, but it's not in c ++ anyway, although a lot of compiler does not matter to them and you're up to date (.h Nizari)
+ 8
<iostream> <- newer version.
+ 5
Hello, you can also use those library's for input/output.
<ios>basic stream types and ops
<streambuf>buffers for streams
<istream>input stream template class
<ostream>output stream template class
<iostream>standard streams like cin and cout
<fstream>files to/from streams
<sstream>strings to/from streams
<iomanip>some stream manipulators
+ 4
You use #include <iostream> with
today's C++ compilers and
#include<string>
instead of #include <string.h> .
You use <string> because of the new
data type ' String' added to the the new
C++compilers.
In the older compilers the data type
for a string was char [string name ] [size].
And you can still use <string.h> if you
want to.
But to answer your question
the new C++ compilers only understand
<iostream>
+ 3
#include <iostream> is used for example in CodeBlocks
+ 3
اون دات h قدیمی تره که توی c هم بوده ولی توی c++ دیگه نمیزارن گرچه خیلی از کامپایلرا براشون فرقی نمیکنه و بهتره به روز باشی (.hنزاری)
+ 3
it is a pre standard language of c++
+ 3
iostream will work in latest compilers .h is not needed
+ 3
As I stated earlier today , the new C++
compilers only understand <iostream>
and not <iostream.h> and if you use
<iostream.h> you will get " file does not
exist" , message if you compile your program, because it is the new standard
as others have also correctly stated about today's
compilers .



