首页 > 技术文章 > c/c++ 'time' was not declared in this scope

xiangsui 2019-10-21 19:39 原文

Error:

'time' was not declared in this scope

 

解决方案:

添加头文件

#include <sys/time.h>

 

推荐阅读