• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: OK on Windows C++
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >OK on Windows C++ (From: David Blanton <email@hidden>)

  • Prev by Date: Re: OK on Windows C++
  • Next by Date: Re: XCode Printing large class models
  • Previous by thread: Re: OK on Windows C++
  • Next by thread: Xcode 3.2.1 is Available on Software Update
  • Index(es):
    • Date
    • Thread