Re: OK on Windows C++
Re: OK on Windows C++
- Subject: Re: OK on Windows C++
- From: Clark Cox <email@hidden>
- Date: Mon, 30 Nov 2009 17:13:43 -0500
xor is a keyword in C++, and is a synonym for the '^' operator. It is
not legal to name any variable "xor".
On Mon, Nov 30, 2009 at 2:56 PM, David Blanton <email@hidden> 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
--
Clark S. Cox III
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