+ 3
PLEASE HELP.. BASIC C++
1.Why some use #include<iostream.h> instead of #include<iostream> 2.why #include<conio.h> is used? 2.why #include<conio.h> and <iostream.h> is not running in this app?
6 Respuestas
+ 1
1. Earlier (around 2005) header files where suffixed with extention '.h'. Now it is no need to use it.
2. Compiler doesn't know what is cout, cin, void, main, int, etc. Header files are those which explains the compiler what are those codes which we use in programs. <iostream> explains the compiler what is cout, cin, etc. <conio> explains the compiler what is clrscr(), getch(), etc. and #include says the compiler to refer the header files enclosed within<>.
3. If you see inside an header file what it contains. It goes on and on. It is so complicated that it must be inbuilt in the software. Otherwise it might be so difficult to code even for a simple program. It seems that this software of this application doesn't have that header file named <conio>.
+ 5
I think it differ because they use different compiler
+ 4
hey what is happing here ....the question is asked just 34 mins back ......& the ans is given 1hr back ........it means ans is given before ques ....
😂😂😂😂😜😜😜
+ 2
Header file with ". h" is an older style to include header file... so it may still work on some compilers. Header files are included in order to use the functions or class defined on it. For instance we use iostream to use "std::cout"
+ 1
for including some new libraries and functions and some new features we use this instead of that
+ 1
It's old style and this is new update of c++ in which we use #include<iostream> instead of #include<iostream.h>