provato anche con g++ (GCC) 3.3.4 , all'uni, identico comportamento.codice:[daniel@archer64 Desktop]$ g++ prog.err.cpp -o prog.err [daniel@archer64 Desktop]$ ./prog.err inserisci un numero m maggiore di zero e minore di 2147483647 2147483648 inserisci un numero n maggiore di zero e minore o uguale a 100 errore. n fuori range [daniel@archer64 Desktop]$ g++ --version g++ (GCC) 4.2.2 Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [daniel@archer64 Desktop]$ uname -a Linux archer64 2.6.23-ARCH #1 SMP PREEMPT Sat Oct 27 10:52:38 CEST 2007 x86_64 AMD Turion(tm) 64 X2 Mobile Technology TL-56 AuthenticAMD GNU/Linux
(oNaSsI$, il programma funziona, in sè, rileggi il primo post..)

Rispondi quotando