Why in header fule does not include .h ? | Sololearn: Learn to code for FREE!

+1

Why in header fule does not include .h ?

2/16/2019 2:50:34 AM

nilesh kushwaha

3 Answers

New Answer

+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.

0

.h in c libraries is only a convention

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(); }