0
hey can i use #include<iostream> instead of #include<iostream. h> in turbo c++ used in my college sys?
5 ответов
+ 1
yes and also"iostream"
0
thnx a lot.
0
that will give error but only in turbo c++
in modern compilers that is fine
- 1
in c++ all header file end with .h but you can run without .h of it run without any error then your teachers are right..
- 1
remember, if you want..
#include<iostream>
then always write after
using namespace std;
this line. otherwise, if
you are written..
#include<iostream.h>
then no need above line.
in short, without header
.ext file you must need
that line unless simple it.
thank you.