Ok, So I want to do the following, Please help me out.
I want to input 150 1 digit integers, from 0-9 and I don't want to put spaces between them while inputing, like if I input a 150 digit integer, the compiler should take it as 150 1 digit integers. I'm not sure how to accomplish that.
1 2 3
int a[150];
for(int i=0;i<150;i++)
cin>>a[i];
If I try to do it with above code, the compiler needs a space to know when the value of i is incremented. But I want to avoid spaces for my task. Please help!!