Re: OK on Windows C++
Re: OK on Windows C++
- Subject: Re: OK on Windows C++
- From: Brett Percy <email@hidden>
- Date: Tue, 1 Dec 2009 07:10:53 +1100
Hi David,
'xor' is a reserved word in C, so you can't use it as a variable name. Try calling your last variable something else
Brett
On 01/12/2009, at 6:56 , David Blanton wrote:
> this line
>
> void LineTo(int x, int y, UINT ID, COLORREF col = 0, int solid = 1, int xor = 0);
>
> gives this error
>
> error: expected ',' or '...' before '^' token
>
> can anyone tell me what is wrong? I don't see '^' token
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden