azz...corretti!!
Ma la compilazione continua a restituire errori:
gcc -Wall -o "main" "main.c" (nella cartella: /home/peppe/Scrivania/Nuova cartella)
main.c:42:14: error: parameter ‘V’ has just a forward declaration
main.c:42:5: error: conflicting types for ‘Min’
main.c:9:5: note: previous declaration of ‘Min’ was here
main.c: In function ‘Min’:
main.c:46:7: error: ‘V’ undeclared (first use in this function)
main.c:46:7: note: each undeclared identifier is reported only once for each function it appears in
main.c: At top level:
main.c:53:23: error: parameter ‘C’ has just a forward declaration
main.c:53:15: error: parameter ‘V’ has just a forward declaration
main.c:53:5: error: conflicting types for ‘MaxC’
main.c:10:5: note: previous declaration of ‘MaxC’ was here
main.c: In function ‘MaxC’:
main.c:58:7: error: ‘V’ undeclared (first use in this function)
main.c:59:8: error: ‘C’ undeclared (first use in this function)
main.c: In function ‘f’:
main.c:72:4: warning: passing argument 1 of ‘Min’ makes integer from pointer without a cast [enabled by default]
main.c:42:5: note: expected ‘int’ but argument is of type ‘int *’
main.c:72:4: error: too many arguments to function ‘Min’
main.c:42:5: note: declared here
main.c:75:5: warning: passing argument 1 of ‘MaxC’ makes integer from pointer without a cast [enabled by default]
main.c:53:5: note: expected ‘int’ but argument is of type ‘int *’
main.c:75:5: error: too many arguments to function ‘MaxC’
main.c:53:5: note: declared here
Compilazione fallita.