+ 1
About iostream
When i started learning c++ in PUC #include <iostream> is #include <iostream.h> Why now .h has bean not used in above example?
5 odpowiedzi
+ 4
Modern C++ uses <iostream> rather than <iostream.h>
+ 4
With .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.
+ 1
Input output stream to get input from user and display it with cout/cin functions.
+ 1
I know that. But why they didn't use ".h"