• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
0

Should we put .h extension in header file of c++?

Which is right? #include<iostream.h> "or" #include<iostream>

c++syntax
11th Jul 2019, 2:55 AM
ankit doot
ankit doot - avatar
2 Answers
+ 2
Not necessary.
11th Jul 2019, 11:30 AM
Sonic
Sonic - avatar
0
This question has been asked many times before: https://www.sololearn.com/discuss/1442922/?ref=app https://www.sololearn.com/discuss/1489805/?ref=app https://www.sololearn.com/discuss/1374835/?ref=app https://www.sololearn.com/discuss/1197598/?ref=app https://www.sololearn.com/discuss/1689816/?ref=app https://www.sololearn.com/discuss/1522492/?ref=app https://www.sololearn.com/discuss/1465804/?ref=app https://www.sololearn.com/discuss/1772181/?ref=app https://www.sololearn.com/discuss/1677217/?ref=app https://www.sololearn.com/discuss/1839000/?ref=app https://www.sololearn.com/discuss/1254023/?ref=app https://www.sololearn.com/discuss/1589410/?ref=app https://www.sololearn.com/discuss/1271707/?ref=app https://www.sololearn.com/discuss/1559540/?ref=app https://www.sololearn.com/discuss/1190377/?ref=app https://www.sololearn.com/discuss/1719462/?ref=app https://www.sololearn.com/discuss/1584052/?ref=app https://www.sololearn.com/discuss/575559/?ref=app https://www.sololearn.com/discuss/464149/?ref=app
11th Jul 2019, 3:31 AM
Solo Wanderer 4315
Solo Wanderer 4315 - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
About sololearn
0 Votes
HTML
1 Votes
Functions in python
0 Votes
For Mobile app
0 Votes
What’s the One Thing That Helped You Learn Coding Faster?
1 Votes
Answer please
0 Votes
I need advice
0 Votes
I need advice
0 Votes
this query always result to be incorrect from Sorting Data lesson
1 Votes
Why this code fails even without data race
0 Votes