Quote:
||=== c_homework, Debug ===|
main.c||In function ‘main’:|
main.c|18|warning: format ‘%lf’ expects argument of type ‘double *’, but argument 3 has type ‘long int *’ [-Wformat]|
main.c|19|warning: format ‘%lf’ expects argument of type ‘double *’, but argument 3 has type ‘long int *’ [-Wformat]|
main.c|28|error: implicit declaration of function ‘time’ [-Wimplicit-function-declaration]|
main.c|112|warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘long int’ [-Wformat]|
||=== Build finished: 1 errors, 3 warnings ===|
Jim