Hi,
I need an algorithm for converting from grey code to binary code, all examples i can find are not for c++, or are seriously out of date and do not compile. anyone out there who has a nice quick solution for this i would be eternally grateful as this is really holding the project back. The ones ive seen do weird bitwise stuff, and i am not experienced enough in c++, im a java guy, but it must be in c.
cheers,
zaphy.
I need an algorithm for converting from grey code to binary code, all examples i can find are not for c++, or are seriously out of date and do not compile. anyone out there who has a nice quick solution for this i would be eternally grateful as this is really holding the project back. The ones ive seen do weird bitwise stuff, and i am not experienced enough in c++, im a java guy, but it must be in c.
cheers,
zaphy.