Tina Dokic
/
Test_13_01_
-1_modifyBit_return_mask
Diff: main.cpp
- Revision:
- 4:f1828d2226c0
- Parent:
- 3:6108729ffc69
- Child:
- 5:c955c3107198
--- a/main.cpp Mon Jan 13 17:46:29 2020 +0000 +++ b/main.cpp Mon Jan 13 17:51:56 2020 +0000 @@ -60,5 +60,10 @@ return anz; } - + void printb(uint8_t x){ + for (int i=sizeof(x) << 3; i;i--) + putchar('0'+((x>>(i-1))&1)); + printf("\n"); + + } \ No newline at end of file