Thread: ((var) &= ~(bit))

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User errigour's Avatar
    Join Date
    Mar 2009
    Posts
    102

    ((var) &= ~(bit))

    Code:
      ((var) &= ~(bit))
    What exactly is that statement saying?
    Is that saying toggle 0 or 1?

    Or is that saying "whatever it equals
    now it equals 0"?
    Last edited by errigour; 11-09-2010 at 10:31 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 08-16-2010, 10:00 AM
  2. Need help assignment
    By 6kaine9 in forum C Programming
    Replies: 26
    Last Post: 10-19-2008, 08:51 PM
  3. server question
    By xddxogm3 in forum Tech Board
    Replies: 24
    Last Post: 01-21-2004, 01:12 AM
  4. Void functions
    By cap in forum C Programming
    Replies: 16
    Last Post: 09-04-2002, 08:08 AM
  5. Vigenere Decipher/Encipher
    By Xander in forum C++ Programming
    Replies: 5
    Last Post: 02-15-2002, 09:24 AM