Home > Back-end >  Small white for help, excuse me, this which is wrong
Small white for help, excuse me, this which is wrong

Time:10-09

This is written in acllib drawing, I do not know the wrong, the request bosses grant instruction

CodePudding user response:

You put the mistake is coming... The errors

CodePudding user response:

The
1/f, beginners reference side reply:
send the mistake is off you ah... Errors

C: \ Users \ \ Admin \ Desktop \ an ack. The main C function In 'Setup:
33 2 C: \ Users \ \ Admin \ Desktop \ an ack. The main C [Warning] passing argument 1 of "Polygon" from incompatible pointer type [enabled by default]
71 e: \ bianyiqi \ dev - CPP \ mingw64 \ x86_64 - w64 - mingw32 \ include \ Windows h In the file included the from e: \ bianyiqi \ dev - CPP \ mingw64 \ x86_64 - w64 - mingw32 \ include \ Windows h
50 C: \ Users \ Admin \ \ Desktop \ an ack acllib. H from acllib. H
1 C: \ Users \ \ Admin \ Desktop \ an ack. The main C from main. C
3353 28 e: \ bianyiqi \ dev - CPP \ mingw64 \ x86_64 w64 - mingw32 \ include \ wingdi h [Note] expected 'HDC regress argument is of type' struct POINT * '
33 2 C: \ Users \ \ Admin \ Desktop \ an ack. The main C [Warning] passing argument of 2 'Polygon' top service pointer from integer without a cast [enabled by default]
71 e: \ bianyiqi \ dev - CPP \ mingw64 \ x86_64 - w64 - mingw32 \ include \ Windows h In the file included the from e: \ bianyiqi \ dev - CPP \ mingw64 \ x86_64 - w64 - mingw32 \ include \ Windows h
50 C: \ Users \ Admin \ \ Desktop \ an ack acllib. H from acllib. H
1 C: \ Users

CodePudding user response:

The
1/f, beginners reference side reply:
send the mistake is off you ah... Errors

Hair so see clearly? Can't see I will send post again, thank you for your reply!

CodePudding user response:

If you convenient stick code come out... Fans of an error

CodePudding user response:

reference 4 floor novice dishes response:
convenient if you post the code... Fans of an error

# include "acllib. H"

Int the Setup ()
{
InitWindow (" test ", the DEFAULT, the DEFAULT, 500500);
BeginPaint ();
SetPenColor (WHITE);
SetBrushColor (WHITE);
A rectangle (0,0,500,500);
EndPaint ();

BeginPaint ();
SetPenColor (BLUE);
SetBrushColor (BLUE);
Acr (150150350300);
The line (200300300300);
EndPaint ();

BeginPaint ();
SetPenColor (RED);
SetBrushColor (RED);
POINT p1 []={
{250220},
{245245},
{220250},
{245255},
{250280},
{255255},
{280250},
{255245},
{250220},
};
Polygon (p1, 9);
EndPaint ();

BeginPaint ();
SetPenColor (BLACK);
SetBrushColor (BLACK);
A rectangle (240300260400);
EndPaint ();

BeginPaint ();
SetTextColor (GREEN);
SetTextsize (20);
PaintText (230, 5, "had little better");
EndPaint ();


return 0;
}

CodePudding user response:

Just learning c language soon, I thought that he directly display error place is ok!

CodePudding user response:

Polygen second parameter with parentheses, namely (const POINT *)
  • Related