Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. chillidog23

    Reverse Bit Operations

    I also meant C, not C++... sorry again
  2. chillidog23

    Reverse Bit Operations

    Sorry, I messed up again: testvar = 11100110b, and reverse(testvar) = 01100111b
  3. chillidog23

    Reverse Bit Operations

    I should've mentioned that testvar is represented as a binary above, i.e. testvar = 11100110, and reverse(testvar) = 01100111.
  4. chillidog23

    Reverse Bit Operations

    Hi, I am looking for a C++ function to reverse the bits of a variable. For example, assume testvar = 11100110, then reverse(testvar) = 01100111. Does anyone know of such a function? Thanks.

Part and Inventory Search

Back
Top