Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4616458
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T01:59:03+00:00 2026-05-22T01:59:03+00:00

Possible Duplicate: C++ alternative tokens? I’m working on an assignment in C++ with a

  • 0

Possible Duplicate:
C++ alternative tokens?

I’m working on an assignment in C++ with a friend of mine, and we’ve been doing lots of the coding on his computer/environment (a Macbook Pro with Eclipse). In some of the code he has written conditions using and and or rather than && and ||. The code compiles just fine on his computer, but when I try and compile it on my computer at home (a PC with Visual Studio 2010) I get compiler errors and am forced to switch them. My friend also attests that this syntax has worked using emacs/g++ in a Linux environment.

I had never seen this type of thing before. Is this used widely or supported by most compilers?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T01:59:04+00:00Added an answer on May 22, 2026 at 1:59 am

    There are a handful of “alternative representations”: and, and_eq, bitand, bitor, compl, not, not_eq, or, or_eq, xor, and xor_eq. They are a standard language feature of C++.

    Visual C++ only supports these as keywords if you compile with the /Za (standards conformance mode) flag.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: What Ruby IDE do you prefer? I've generally been doing stuff on
Possible Duplicate: Alternative for PHP_excel A friend would like to use a Php Excel
Possible Duplicate: After a computer crash my Visual Studio 2010 will not load an
Possible Duplicate: How do I do multiple assignment in MATLAB? When dealing with cell
Possible Duplicate: Assignment Condition in Python While Loop What's the equivalent of this: while
Possible Duplicate: C# - Is there a better alternative than this to 'switch on
Possible Duplicate: Is there an alternative to string.Replace that is case-insensitive? I'm looking for
Possible Duplicate: Pretty alternative to JProgressBar? I have a process which takes several seconds
Possible Duplicate: .Net Obfuscation Alternative for Obfuscation in the .NET world Just a few
Possible Duplicate: C# - Is there a better alternative than this to ‘switch on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.