I copy-past this code from Wikipedia: http://en.wikipedia.org/wiki/Xlib
And I'm getting this error:
fatal error C1083: Cannot open include file: 'X11/Xlib.h': No such file or directory
I assume it works for c++ even the though the code is c, or at least find the library x11?
Been stuck on this problem entire day... anyone have any idea what I'm doing wrong here?