I found this answer, with external libraries, but I just want to know, is there any way I can get a monitor's dimensions using default libraries in C/C++?
Also, I came to know that the headers "Wtypes.h"
and "MacTypes.h"
can help, but it is not clear how to use them. Can someone please guide me through this?