can we use <iostream.h> instead of <iostream>? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

can we use <iostream.h> instead of <iostream>?

because my textbook shows <iostream.h>

27th Sep 2016, 6:27 PM
sarim
2 Answers
+ 1
<iostream.h> is C library(header file) <iostream> is Cpp library
27th Sep 2016, 8:05 PM
Nahid Jamalli
Nahid Jamalli - avatar
+ 1
old compiler like (turbo c++) can use <iostream.h> bt in new compiler (dev c++) can't use
28th Sep 2016, 3:39 AM
Shiv Kumar
Shiv Kumar - avatar