How to find missing libraries

Do you appreciate that the Arduino environment is very different from using C/C++ on a PC ?

Why do you think you need windows.h etc ?