gnu/gcc keyword 'and'
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: gnu/gcc keyword 'and'

  1. #1
    John E is offline Elite Member Power Poster
    Join Date
    Apr 2001
    Location
    Manchester, England
    Posts
    4,235

    gnu/gcc keyword 'and'

    Some code I'm compiling uses the keyword 'and' - e.g.

    Code:
    do {
          // whatever
    } while (something and something_else);
    Is 'and' equivalent to & or &&
    "A problem well stated is a problem half solved. - Charles F. Kettering

  2. #2
    Join Date
    Jan 2006
    Location
    Singapore
    Posts
    6,246

    Re: gnu/gcc keyword 'and'

    Quote Originally Posted by John E
    Is 'and' equivalent to & or &&
    It is equivalent to &&, assuming that this is C++, or that <iso646.h> has been included.
    C + C++ Compiler: MinGW port of GCC
    Build + Version Control System: SCons + Bazaar

    Look up a C/C++ Reference and learn How To Ask Questions The Smart Way
    Kindly rate my posts if you found them useful

  3. #3
    John E is offline Elite Member Power Poster
    Join Date
    Apr 2001
    Location
    Manchester, England
    Posts
    4,235

    Re: gnu/gcc keyword 'and'

    Thanks Laserlight.!
    "A problem well stated is a problem half solved. - Charles F. Kettering

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center