bah just kidding! :P
no really my problem is as follow..
im trying to make a program that will ask 10 different words and then sort them in order.
if one word should be same as an another one it will not be sorted twice.
in the same time if user input quit at anytime the app should be able to end task right away...
my problem is in the quit command...
im not sure why but the best i can get is to get the app to loop forever?
even if i enter quit it will always go on..
quite pathethic..
any suggestions?
ho right here is what i tried :
im using codewarrior v7.0 for mac on os X..Code:while(str[i]!= "quit" ) { for (i=0;i<10;i++) { cout<<"enter a word" <<endl; //getline (str[i],f,'\n'); cin >> str[i]; } }
thx in advance..
Luigi