#include <windows.h>
#include <wingdi.h>
int cx=GetSystemMetrics(SM_CXSCREEN);
int cy=GetSystemMetrics(SM_CYSCREEN);
void InvertColor() {
HDC hdc = GetDC(0);
BitBlt(hdc, 0, 0, cx, cy, hdc, 0, 0, NOTSRCCOPY);
}
int main(){
InvertColor();
}
然后报错
[Error] ld returned 1 exit status
无法理解