+ 1
#include<iostream> or #include<iostream.h>
My teacher is using iostream.h but here in this app this is not working why?? please answer me
5 odpowiedzi
+ 5
Your teacher is teaching you deprecated C++.
iostream.h was used before C++ was standardized. Most compilers don't support it anymore.
iostream is used now and should be used instead.
+ 3
Well, if you like programming, I recommend that you do your own studying and research yourself then, and ask when you are confused about something, with a proper compiler, visual studio or codeblocks are a good choice, they come with a good compiler.
+ 2
Yes, you are correct.
An old compiler for example is turbo C++.
It was developed before C++ was standardized and therefore it supports invalid C++, for example: void main, iostream.h, clrscr().
Sadly most schools, especially in india, still use it for some reason.
Unless your teacher forces you to, you should stay away from it.
+ 1
so we can say that iostream.h is used in old c++ and can work in old compilers but not in new, Am i right?
0
correct, my teacher is using turboC7 😂 ,