Gray Code to Binary Code Conversion!

This is a discussion on Gray Code to Binary Code Conversion! within the C++ Programming forums, part of the General Programming Boards category; nbbmnb...

  1. #1
    Registered User
    Join Date
    Mar 2011
    Posts
    1

    Smile lklk

    nbbmnb
    Last edited by JKrakauer; 03-15-2011 at 04:23 AM.

  2. #2
    Registered User
    Join Date
    May 2009
    Posts
    2,764
    Look up left and right shift operators >> and << one of them might help you solve this problem.

    Tim S.

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,821
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Binary to Ascii Conversion
    By codemaster12 in forum C Programming
    Replies: 2
    Last Post: 10-24-2007, 11:57 AM
  2. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 03:39 PM
  3. binary decimal conversion
    By eerok in forum C Programming
    Replies: 2
    Last Post: 01-24-2006, 09:51 PM
  4. Tutorial review
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 11
    Last Post: 03-22-2004, 09:40 PM
  5. conversion for binary data type
    By DMaxJ in forum C++ Programming
    Replies: 2
    Last Post: 10-23-2001, 01:57 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21