V
Vlad Dogaru
Hello,
I am trying to use bitwise operators on chars. What is the simplest
way to make this work? The only way that came to my mind was:
char c = 'a';
c = c | 0x02;
This yields a "Possible loss of precision" error.
Thanks in advance,
Vlad
I am trying to use bitwise operators on chars. What is the simplest
way to make this work? The only way that came to my mind was:
char c = 'a';
c = c | 0x02;
This yields a "Possible loss of precision" error.
Thanks in advance,
Vlad