#include <stdio.h>
#include <Windows.h>
int main()
{
printf("%d * %d", GetSystemMetrics (SM_CXSCREEN), GetSystemMetrics (SM_CYSCREEN));
getchar();
}
获取分辨率

最新推荐文章于 2020-12-09 05:30:38 发布
#include <stdio.h>
#include <Windows.h>
int main()
{
printf("%d * %d", GetSystemMetrics (SM_CXSCREEN), GetSystemMetrics (SM_CYSCREEN));
getchar();
}