Wrox Programmer Forums
|
Visual C++ Questions specific to Microsoft's Visual C++. For questions not specific to this Microsoft version, use the C++ Programming forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual C++ section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 2nd, 2004, 02:14 PM
Authorized User
 
Join Date: Jun 2004
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Default inverting bits

how do i invert bits? For example, say I had a number whose bit equivalent was 01010101. I would want to turn that into 10101010.

Thanks

__________________
Julio Cesar

-\"Bueller.......... Bueller.......... Bueller.......... Bueller..........\"





Similar Threads
Thread Thread Starter Forum Replies Last Post
creating an array of size 2^16 bits scoobie C++ Programming 2 November 9th, 2005 08:59 PM
Turning strings into bits...help patpicos BOOK: Beginning Java 2 2 March 29th, 2005 06:09 AM
what data type in vb.net holds more thab 256 bits Hisham VB.NET 2002/2003 Basics 1 November 8th, 2004 05:35 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.