Last active
July 25, 2020 11:35
-
-
Save kjk/d2625c0136e7033c50c1b43acf3a2bd6 to your computer and use it in GitHub Desktop.
example for https://notion.so/be1b2932260e4e06b5777d4f74c56461 (made with https://codeeval.dev)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <string> | |
#include <bitset> | |
int main(int argc, char **argv) { | |
int a = 0b0101; | |
a |= 0b1101; | |
std::cout << "a = " << std::bitset<8>(a) << std::endl; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment