2 years ago

#58177

test-img

Sam Francis

How to get the display's dimensions on whichever screen a C++ program is running on (without needing to download libraries)?

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?

c++

terminal

c++17

screen

0 Answers

Your Answer

Accepted video resources