Why does it gives error? its like std:istream is not defined something in my compiler and on coding blocks ide?

#include
#include
using namespace std;
int main()
{
int a[100][1000];
int n;
cin >> n;
cin.get();
for (int i = 0; i < n; i++)
cin.getline(a[i], 1000);
for (int i = 0; i < n; i++)
cout << a[i] << endl;
}

int a[100][1000];

make it character array…
char a[100][1000];

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.