Why we cannot use #include<iostream.h> | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why we cannot use #include<iostream.h>

2nd Aug 2017, 4:52 AM
DEEPENDU PANDIT
DEEPENDU PANDIT - avatar
5 Answers
+ 11
it 'can' see .h files.. see stdio.h, time.h etc these .h extension headers are c headers. not c++ ones. The reason you can not use iostream.h is because it has has been deprecated since 1998 when c++ was standardized. we use iostream in standard c++
2nd Aug 2017, 5:07 AM
jay
jay - avatar
2nd Aug 2017, 6:20 AM
Hatsy Rei
Hatsy Rei - avatar
+ 6
C++ compiler (on sololearn) can not understand "h" files , if you want include "h" files download "visual studio C++"
2nd Aug 2017, 4:55 AM
AL.The.Flame!
AL.The.Flame! - avatar
+ 2
thanks... jay and AL.The.Flame
2nd Aug 2017, 5:08 AM
DEEPENDU PANDIT
DEEPENDU PANDIT - avatar
+ 1
why it cannot use h files???
2nd Aug 2017, 4:56 AM
DEEPENDU PANDIT
DEEPENDU PANDIT - avatar