Why in header fule does not include .h ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why in header fule does not include .h ?

16th Feb 2019, 2:50 AM
nilesh kushwaha
3 Answers
+ 5
In C++, the style is #include <iostream> whereas in C, the style is #include "stdio.h" Your question wasn't clear so I don't know if the answer is relevant.
16th Feb 2019, 3:04 AM
Sonic
Sonic - avatar
0
.h in c libraries is only a convention
16th Feb 2019, 5:54 AM
AngelinG
AngelinG - avatar
0
When I was in high school for simple calculation like sum of two no i use this. But in this it's not working But on computer it's working #include<iostream.h> #include<conio.h> void main() { clrscr(); int a,b,c; cout<<"Enter first number\n"; cin>>a; cout<<"Enter second number\n"; cin>>b; c=a+b; cout<<"Add="<<c; getch(); }
16th Feb 2019, 5:58 AM
nilesh kushwaha