问题描述
- 初学c语言,网上学了个程序,我进行了修改,但是系统提示出错了。求解
-
修改后的代码如下#include
#include
int main(){printf("hello"); HDC hdc = GetDC(0);
SelectObject(hdc,GetStockObject(BLACK_BRUSH));
while(Rectangle(hdc,0,0,2000,2000));
}
时间: 2024-09-14 16:20:50
#include
#include
int main(){
printf("hello");
HDC hdc = GetDC(0);
SelectObject(hdc,GetStockObject(BLACK_BRUSH));
while(Rectangle(hdc,0,0,2000,2000));
}