nbbmnb
nbbmnb
Last edited by JKrakauer; 03-15-2011 at 03:23 AM.
Look up left and right shift operators >> and << one of them might help you solve this problem.
Tim S.
Selfish cross-poster and thread deleter
Gray Code To Binary Code Conversion! - C And C++ | Dream.In.Code
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.