• 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
Why the output is skipping the first 0 index and starting from 1 when I put the iteration out the for loop?
0 Votes
What is machine learning?
1 Votes
JavaScript
1 Votes
How we get hearts
0 Votes
Please how to get a heart
0 Votes
Question!
0 Votes
Which language to start with?
0 Votes
how do they start the code with the pyhton language
0 Votes
how do we do this code?
0 Votes
Where do I start if I’m trying to build a complex AI?
0 Votes