Bitwise shifting array of char's

后端 未结 7 1596
谎友^
谎友^ 2020-12-03 17:41

I have got an array of chars that I\'m trying to bitwise shift right >>, then & with another array. I think I have got the wrong idea of

7条回答
  •  广开言路
    2020-12-03 18:17

    If you want to perform operations such as shifting / OR / XOR / AND / etc.. on arrays, you should perform it in a loop, you cannot perform it directly on the array.

提交回复
热议问题