text: i wrote a program in cpp language and then compiled it.its showing iostream header file or directory does not exist program terminated.it had no other errors.i even tried with using namespace std and without it too.
  are you typing #include <iostream.h> by any chance? If yes, then remove the “.h” part and see.
  Also, please give a link to your code so we can derive sufficient information from there.
  1 Like
  some compilers need you to type
  #include<iostream.h>
  and not
  #include<iostream>
  also, try
  #include"iostream" instead of the angle brackets.
  If none of these fix your problem, then there is an issue with your compiler.
  Which compiler are you using?