so far I ask user for number of terms :
cout<<"Enter the number of therms in the array \n\n";
cin>>x;
for(i=0; i<x; i++)
{
cin>>arr[i];
}
But It looks preety non-user friendly, I wanna input it just like we enter a string.
We the user should hit shift array input should terminate.
cout<<"Press (shift) after the last term of the array \n\n";
for(i=0; arr[i]!= (char)16 ; i++)
{
cin>>arr[i];
}
It dosen't work :(