dimanche 1 avril 2018

How can i analyse a binary number in c++

i have a binary number such as 1011 , i would like to analyse this number to the following number

1011

  1. List item

1000

0000

0010

0001

so if i apply (or) " | " operator it will produce the original number

Aucun commentaire:

Enregistrer un commentaire