0
In my laptop I use #include<iostream.h>. Here while practice we use using namespace std. I get error if I use both in opposite platform. Why?
2 ответов
+ 1
Because practicly iostream.h already allow you to use namespace std without writing it. If you still write it you would overload it. That's why!
+ 1
remove .h
just write like this
#include <iostream>
check this