When i started learning c++ in PUC #include <iostream> is #include <iostream.h> Why now .h has bean not used in above example?
3/3/2021 4:16:24 PM
MAHAMMAD RAFEEK5 Answers
New AnswerWith .h you use header file that contains all your libraries you need into your main program with .c including the header facilates you code that will regroup all needed libraries and functions prototypes in one file.
Please search before posting https://www.sololearn.com/Discuss/192009/what-is-the-difference-between-iostream-h-and-iostream https://stackoverflow.com/questions/2976477/difference-between-iostream-and-iostream-h
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message