Timeline for Bitwise operation between byte and 1?
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 4, 2019 at 14:20 | vote | accept | G. Ramistella | ||
Mar 3, 2019 at 12:41 | answer | added | NirIzr | timeline score: 0 | |
Mar 2, 2019 at 4:16 | answer | added | blabb | timeline score: 0 | |
Mar 1, 2019 at 20:03 | comment | added | G. Ramistella | @wisk I added everything in the post. | |
Mar 1, 2019 at 20:02 | history | edited | G. Ramistella | CC BY-SA 4.0 |
added 389 characters in body
|
Mar 1, 2019 at 19:12 | comment | added | wisk |
Can you give the size of the var userInput and the disassembly of mightGetUserInput . I would say the original code should be something like: int userInput; std::cin >> userInput; if (userInput & 1) {...} else {...}
|
|
Mar 1, 2019 at 18:30 | history | edited | G. Ramistella | CC BY-SA 4.0 |
added 207 characters in body
|
Mar 1, 2019 at 18:25 | history | asked | G. Ramistella | CC BY-SA 4.0 |