yoruk wrote: > SystemFAILURE BioHazard wrote: >> Ciao raga , ho allegato un codice sorgente che mi sta creando dei >> problemi . Non c'e' nulla che non vada in compilazione ma in esecuzione si . >> >> line 65 if (subpagestr > "1") >> line 66 { >> >> Lo ho usato allo stesso modo anche in altri punti del codice e non mi ha >> dato problemi . Il problema sta nel fatto che la condizione 'subpagestr >> >>> "1"' risulta sempre vera anche quando non lo e' ! Dove ¢Æ««Ø sto >>> >> sbagliando ? Grazie a tutti . ;) >> >> > [..] > while (subpagestr != "1" && subpagestr != "2" && subpagestr != > "3") > { > cout << "Subpage number (1 for no subpage OR 2 OR 3) :: "; > cin >> subpagestr; > }; > if (subpagestr != "1") > { > > [..] > > Quello e' il problema: sono stringhe. Ti consiglio di dare un'occhiata > a tutto il codice comunque. Che sono stringhe lo so ma ho bisogno di trattarle come tali , in ogni caso non capisco perche' negli altri spezzoni di codice non mi crea problemi e proprio su quell'istruzione si' .. -- SystemFAILURE BioHazard Email address :: root@xxxxxxxxxxxxxxxxxxxxxxxxxx Internet Relay Chat :: SystemFAILURE @ #HUF @ irc.evoirc.org Micro$oft Network :: msn@xxxxxxxxxxxxxxxxxxxxxxxxxx Jabber :: root@xxxxxxxxxxxxxxxxxxxxxxxxxx // HUF Founder /* Heaven Knows That I Love YOU :**: */ /* I will never let you fall , I'll stand up with you forever .. I'll be there for you through it all , Even if saving you sends me to Heaven :*: */ ProShell System Administrator // it was wonderful , many thanks to all