I have the following:
char super[30];
for(nt = 0; nt < 30; nt++)
cin >> super[nt];
I am inputting a line such as 24 + 5 - 2 =
and I want the array to stop letting characters in once someone types the = sign and hits enter. Any ideas? thanks for your help in advance!