Open philivy opened 3 years ago
main.cpp: In function ‘long long int current_timestamp()’: main.cpp:685:5: error: ‘gettimeofday’ was not declared in this scope 685 | gettimeofday(&te, NULL); // get current time | ^~~~
j'ai du rajouter un inculde pour que la compil passe
merci !!
main.cpp: In function ‘long long int current_timestamp()’: main.cpp:685:5: error: ‘gettimeofday’ was not declared in this scope 685 | gettimeofday(&te, NULL); // get current time | ^
~~~j'ai du rajouter un inculde pour que la compil passe
include <sys/time.h>
merci !!