There is a problem in compiling in C++ program
error: iostream.h no such file or directory
I used make hello where hello.cpp is my filename.
There is a problem in compiling in C++ program
error: iostream.h no such file or directory
I used make hello where hello.cpp is my filename.
Use
#include<iostream>
The name iostream.h is deprecated.
Use #include <iostream> instead of #include <iostream.h>
If you want to know why iostream.h was outdated, I suggest reading: Why is #include outdated
#include<iostream>
using namespace std;
that is the first code I ve write