Can’t run C file in Visual Studio

  c++, linux, windows

I have a C file that I can run in Linux (Ubuntu) terminal, but when I try to run the C file in Visual Studio 2019 on Windows 10, it can’t run, it says can’t open source file (unistd.h, sys/wait.h,…). Why Linux (Ubuntu) can run but Visual Studio can’t? Thanks!

Source: Windows Questions