How to use other header files? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to use other header files?

How to use other header files like< iostream> instead of <iostream.h> ,what is for <math.h> and others

10th Jul 2019, 4:06 AM
Syed Ammar Ali
Syed Ammar Ali - avatar
9 Answers
+ 9
Hey I'm sure I studied about that in college
11th Jul 2019, 10:19 AM
Muaz Ahmad
Muaz Ahmad - avatar
+ 7
Hey Mind To Machine C++ has header <iostream> which you think is right but if <iostream.h> is used there is no use of using namespace std() after it. That all I know.
10th Jul 2019, 5:02 AM
Muaz Ahmad
Muaz Ahmad - avatar
+ 7
<*****.h> is an alternate to using namespace std ( )
10th Jul 2019, 5:04 AM
Muaz Ahmad
Muaz Ahmad - avatar
+ 3
i dont think C++ nor C has a header file <iostream.h>
10th Jul 2019, 4:17 AM
Mind To Machine ๐Ÿ’ป๐Ÿ•†
Mind To Machine ๐Ÿ’ป๐Ÿ•† - avatar
+ 3
Muaz Ahmad don't be confused with C's <stdio.h> there is no header file <iostream.h>
10th Jul 2019, 11:38 AM
Mind To Machine ๐Ÿ’ป๐Ÿ•†
Mind To Machine ๐Ÿ’ป๐Ÿ•† - avatar
0
I am assuming you're trying to movw from TurboC++ and Your first step is getting Visual Studio
10th Jul 2019, 4:16 AM
Shahil Ahmed
Shahil Ahmed - avatar
0
how to use it, its the same. why not iostream.h its not te current standard used by most of the modern compilers. for the others, i usually go here http://www.cplusplus.com/reference/
10th Jul 2019, 4:16 AM
Taste
Taste - avatar
0
Most header extensions with .h are C style header files.
10th Jul 2019, 4:39 AM
Franky BrainBox
Franky BrainBox - avatar
0
iostream.h is removed from the standard for good. you cant use it anymore. unless the program is compiled using pre 2000 compiler.
11th Jul 2019, 10:31 AM
Taste
Taste - avatar