ci sono ancora alcuni warning
prova ad eliminarli, per esempio facendocodice:sergio@casa:~/tmp$ g++ prova.cpp prova.cpp: In function ‘int main()’: prova.cpp:235: warning: format ‘%f’ expects type ‘float*’, but argument 2 has type ‘double*’ prova.cpp:235: warning: format ‘%f’ expects type ‘float*’, but argument 3 has type ‘double*’ prova.cpp:236: warning: format ‘%f’ expects type ‘float*’, but argument 2 has type ‘double*’ prova.cpp:237: warning: format ‘%f’ expects type ‘float*’, but argument 2 has type ‘double*’ sergio@casa:~/tmp$
codice:float temp_vertex_X, temp_vertex_Y, temp_base, temp_height; temp_vertex_X=temp_vertex_Y=temp_base=temp_height=0.0;

Rispondi quotando