|
grazie mille. con %lf ora funziona correttamente!!! grande.
ho un altro probl. allora x getch() ho inserito la libreria curses.h, solo che il compilatore mi restituisce questo errore:
[christian@localhost christian]$ gcc esercizio3.c -o esercizio3
/tmp/ccalXC2O.o: In function `main':
/tmp/ccalXC2O.o(.text+0x2c9): undefined reference to `stdscr'
/tmp/ccalXC2O.o(.text+0x2ce): undefined reference to `wgetch'
collect2: ld returned 1 exit status
|