asked
[MMORPG Game Development with C++ and Unreal Series] Part 1: Introduction to C++ Programming
Bit operations and bit flags
Resolved
Written on
·
272
6
mask의 자료형을 bool로 하면 어셈블리에서 확인해보니 값이 1이 됩니다. 정수형으로 해야지 10이 들어갈 것 같습니다.
Answer 1
1
헉! 맞습니다.bool이 아니라 int, long 등의 정수로 해야 하는데 오타가 났네요.확인 감사합니다. 매의 눈을 가지셨네요