I’m making a C++ game, and I want it to automatically get the user’s desktop resolution.
I’ve found windows-only solutions so far – is there a way/library to find the resolution on Windows/Mac/Linux?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There are several libraries helping you at getting the low-level stuff to work out. You’ll probably need more stuff on those platforms anyways, so I’ll list some: