VS2017的标题是< sys / time.h>? [英] Does VS2017 has the header <sys/time.h>?

查看:499
本文介绍了VS2017的标题是< sys / time.h>?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一些使用Unix编写代码的教师的示例代码。


然而,有< sys / time.h>和< unistd.h>在他的每个代码中,我都无法在使用Visual Studio 2017时运行它们。


想知道是否有任何方法可以解决这个问题?谢谢!

解决方案

使用教师推荐的相同编译环境?


- PA


I have got some sample codes from our instructor who uses Unix to write codes.

However, there is <sys/time.h> and <unistd.h> in every of his code and I simply can't run them when using Visual Studio 2017.

Wondering if there is any way to solve the issue? Thanks!

解决方案

Use the same compile environment as recommended by your instructor?

-- pa


这篇关于VS2017的标题是&lt; sys / time.h&gt;?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆