+ 28

#include <iostream.h> or ...iostream>

13th Jun 2017, 2:44 PM
Mr.K
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
13th Jun 2017, 11:34 PM
Hatsy Rei
Hatsy Rei - avatar
+ 20
help me to download best complier.. (link for Windows 10)
15th Jun 2017, 8:11 AM
Mr.K
15th Jun 2017, 8:55 AM
jay
jay - avatar
+ 9
https://www.visualstudio.com/downloads/ community edition
15th Jun 2017, 8:54 AM
jay
jay - avatar
+ 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)
29th Jul 2017, 9:13 AM
jay
jay - avatar
+ 8
<iostream> <- newer version.
13th Jun 2017, 2:51 PM
jay
jay - avatar
+ 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
29th Jul 2017, 4:43 PM
MrVector
14th Jun 2017, 1:09 AM
Solo Wanderer 4315
Solo Wanderer 4315 - avatar
+ 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>
29th Jul 2017, 8:06 PM
Rick Zalman
+ 3
#include <iostream> is used for example in CodeBlocks
13th Jun 2017, 2:52 PM
FernAg
FernAg - avatar
+ 3
اون دات h قدیمی تره که توی c هم بوده ولی توی c++ دیگه نمیزارن گرچه خیلی از کامپایلرا براشون فرقی نمیکنه و بهتره به روز باشی (.hنزاری)
29th Jul 2017, 9:07 AM
mohamad mahjoob
mohamad mahjoob - avatar
+ 3
it is a pre standard language of c++
30th Jul 2017, 12:22 AM
yyoouurr st
yyoouurr st - avatar
+ 3
iostream will work in latest compilers .h is not needed
30th Jul 2017, 3:45 AM
Komal Laghate
+ 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 .
30th Jul 2017, 4:24 AM
Rick Zalman